CmdID / aws / aws apprunner
aws apprunner delete-connection
Delete an App Runner connection. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
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.jsonIdentifyContents of input.json:
{
"ConnectionArn": "arn:aws:apprunner:us-west-2:123456789012:connection/my-github-connection"
}
Its output
{
"Connection": {
"ConnectionArn": "arn:aws:apprunner:us-west-2:123456789012:connection/my-github-connection",
"ConnectionName": "my-github-connection",
"Status": "DELETED",
"CreatedAt": "2020-11-03T00:32:51Z",
"ProviderType": "GITHUB"
}
}For more information, see Managing App Runner connections in the AWS App Runner Developer Guide.
Options
--connection-arnThe Amazon Resource Name (ARN) of the App Runner connection that you want to delete.