Skip to content

Connection

Source code in docs_src/capo_codeconnections/types/connection.py
class Connection(TypedDict, closed=True):
    connection_name: NotRequired[
        "capo_codeconnections.types.connection_name.ConnectionName"
    ]
    """<p>The name of the connection. Connection names must be unique in an Amazon Web Services account.</p>"""
    connection_arn: NotRequired[
        "capo_codeconnections.types.connection_arn.ConnectionArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.</p> <note> <p>The ARN is never reused if the connection is deleted.</p> </note>"""
    provider_type: NotRequired["capo_codeconnections.types.provider_type.ProviderType"]
    """<p>The name of the external provider where your third-party code repository is configured.</p>"""
    owner_account_id: NotRequired["capo_codeconnections.types.account_id.AccountId"]
    """<p>The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.</p>"""
    connection_status: NotRequired[
        "capo_codeconnections.types.connection_status.ConnectionStatus"
    ]
    """<p>The current status of the connection. </p>"""
    host_arn: NotRequired["capo_codeconnections.types.host_arn.HostArn"]
    """<p>The Amazon Resource Name (ARN) of the host associated with the connection.</p>"""

connection_arn instance-attribute

connection_arn: NotRequired[ConnectionArn]

The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.

The ARN is never reused if the connection is deleted.

connection_name instance-attribute

connection_name: NotRequired[ConnectionName]

The name of the connection. Connection names must be unique in an Amazon Web Services account.

connection_status instance-attribute

connection_status: NotRequired[ConnectionStatus]

The current status of the connection.

host_arn instance-attribute

host_arn: NotRequired[HostArn]

The Amazon Resource Name (ARN) of the host associated with the connection.

owner_account_id instance-attribute

owner_account_id: NotRequired[AccountId]

The identifier of the external provider where your third-party code repository is configured. For Bitbucket, this is the account ID of the owner of the Bitbucket repository.

provider_type instance-attribute

provider_type: NotRequired[ProviderType]

The name of the external provider where your third-party code repository is configured.