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:
- 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.
- host_arn
The Amazon Resource Name (ARN) of the host associated with the connection.
- provider_type
The name of the external provider where your third-party code repository is configured.
- tags
Specifies the tags applied to the resource.