CfnTransitGatewayConnectProps

class aws_cdk.aws_ec2.CfnTransitGatewayConnectProps(*, options, tags=None, transport_transit_gateway_attachment_id)

Bases: object

Properties for defining a AWS::EC2::TransitGatewayConnect.

Parameters
  • options (Union[IResolvable, TransitGatewayConnectOptionsProperty]) – AWS::EC2::TransitGatewayConnect.Options.

  • tags (Optional[Sequence[CfnTag]]) – AWS::EC2::TransitGatewayConnect.Tags.

  • transport_transit_gateway_attachment_id (str) – AWS::EC2::TransitGatewayConnect.TransportTransitGatewayAttachmentId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html

Example:

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

cfn_transit_gateway_connect_props = ec2.CfnTransitGatewayConnectProps(
    options=ec2.CfnTransitGatewayConnect.TransitGatewayConnectOptionsProperty(
        protocol="protocol"
    ),
    transport_transit_gateway_attachment_id="transportTransitGatewayAttachmentId",

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

Attributes

options

AWS::EC2::TransitGatewayConnect.Options.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html#cfn-ec2-transitgatewayconnect-options

Return type

Union[IResolvable, TransitGatewayConnectOptionsProperty]

tags

AWS::EC2::TransitGatewayConnect.Tags.

Link

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

Return type

Optional[List[CfnTag]]

transport_transit_gateway_attachment_id

AWS::EC2::TransitGatewayConnect.TransportTransitGatewayAttachmentId.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html#cfn-ec2-transitgatewayconnect-transporttransitgatewayattachmentid

Return type

str