CfnConnectionProps

class aws_cdk.aws_codestarconnections.CfnConnectionProps(*, connection_name, host_arn=None, provider_type=None, tags=None)

Bases: object

Properties for defining a CfnConnection.

Parameters:
  • connection_name (str) – The name of the connection. Connection names must be unique in an AWS account .

  • host_arn (Optional[str]) – The Amazon Resource Name (ARN) of the host associated with the connection.

  • provider_type (Optional[str]) – The name of the external provider where your third-party code repository is configured.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Specifies the tags applied to the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codestarconnections as codestarconnections

cfn_connection_props = codestarconnections.CfnConnectionProps(
    connection_name="connectionName",

    # the properties below are optional
    host_arn="hostArn",
    provider_type="providerType",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

connection_name

The name of the connection.

Connection names must be unique in an AWS account .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-connectionname

host_arn

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-hostarn

provider_type

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-providertype

tags

Specifies the tags applied to the resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codestarconnections-connection.html#cfn-codestarconnections-connection-tags