CmdID

CmdID / aws / aws apprunner

aws apprunner create-connection

Create an App Runner connection resource. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To create a GitHub connection

The following create-connection example creates a connection to a private GitHub code repository. The connection status after a successful call is PENDING_HANDSHAKE. This is because an authentication handshake with the provider still hasn't happened. Complete the handshake using the App Runner console.

aws apprunner create-connection --cli-input-json file://input.jsonIdentify

Contents of input.json:

{
    "ConnectionName": "my-github-connection",
    "ProviderType": "GITHUB"
}
Its output
{
    "Connection": {
        "ConnectionArn": "arn:aws:apprunner:us-west-2:123456789012:connection/my-github-connection",
        "ConnectionName": "my-github-connection",
        "Status": "PENDING_HANDSHAKE",
        "CreatedAt": "2020-11-03T00:32:51Z",
        "ProviderType": "GITHUB"
    }
}

For more information, see Managing App Runner connections in the AWS App Runner Developer Guide.

Options

3 in the AWS CLI reference
--connection-nameA name for the new connection.
--provider-typeThe source repository provider.
--tagsA list of metadata items that you can associate with your connection resource.