CfnTransitGatewayConnectProps

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

Bases: object

Properties for defining a CfnTransitGatewayConnect.

Parameters
  • options (Union[IResolvable, TransitGatewayConnectOptionsProperty]) – The Connect attachment options. - protocol (gre)

  • transport_transit_gateway_attachment_id (str) – The ID of the attachment from which the Connect attachment was created.

  • tags (Optional[Sequence[CfnTag]]) – The tags for the attachment.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.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_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

The Connect attachment options.

  • protocol (gre)

Link

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

Return type

Union[IResolvable, TransitGatewayConnectOptionsProperty]

tags

The tags for the attachment.

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

The ID of the attachment from which the Connect attachment was created.

Link

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

Return type

str