HEX
Server: Apache
System: Linux pdx1-shared-a2-09 6.6.116-grsec-jammy-dirty #1 SMP Sat Nov 8 00:02:42 UTC 2025 x86_64
User: dh_pvsc7i (5084578)
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"
        }
    }