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 user 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.

Link

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.
import aws_cdk.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 user account.

Link

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

Return type

str

host_arn

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

Link

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

Return type

Optional[str]

provider_type

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

Link

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

Return type

Optional[str]

tags

Specifies the tags applied to the resource.

Link

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

Return type

Optional[List[CfnTag]]