HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/doc/awscli/examples/apprunner/delete-connection.rst
**To delete a connection**

The following ``delete-connection`` example deletes an App Runner connection.
The connection status after a successful call is ``DELETED``.
This is because the connection is no longer available. ::

    aws apprunner delete-connection \
        --cli-input-json file://input.json

Contents of ``input.json``::

    {
        "ConnectionArn": "arn:aws:apprunner:us-east-1:123456789012:connection/my-github-connection"
    }

Output::

    {
        "Connection": {
            "ConnectionArn": "arn:aws:apprunner:us-east-1:123456789012:connection/my-github-connection",
            "ConnectionName": "my-github-connection",
            "Status": "DELETED",
            "CreatedAt": "2020-11-03T00:32:51Z",
            "ProviderType": "GITHUB"
        }
    }