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, Dict[str, Any]]) – 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[Union[CfnTag, Dict[str, Any]]]]) – The tags for the attachment.

See:

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.
from aws_cdk import 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)

See:

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

tags

The tags for the attachment.

See:

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

transport_transit_gateway_attachment_id

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

See:

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