CfnTransitGatewayConnectPropsMixin

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayConnectPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a Connect attachment from a specified transit gateway attachment.

A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or AWS Direct Connect attachment as the underlying transport mechanism.

See:

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

CloudformationResource:

AWS::EC2::TransitGatewayConnect

Mixin:

true

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.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_transit_gateway_connect_props_mixin = ec2_mixins.CfnTransitGatewayConnectPropsMixin(ec2_mixins.CfnTransitGatewayConnectMixinProps(
    options=ec2_mixins.CfnTransitGatewayConnectPropsMixin.TransitGatewayConnectOptionsProperty(
        protocol="protocol"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transport_transit_gateway_attachment_id="transportTransitGatewayAttachmentId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::EC2::TransitGatewayConnect.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['options', 'tags', 'transportTransitGatewayAttachmentId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

TransitGatewayConnectOptionsProperty

class CfnTransitGatewayConnectPropsMixin.TransitGatewayConnectOptionsProperty(*, protocol=None)

Bases: object

Describes the Connect attachment options.

Parameters:

protocol (Optional[str]) – The tunnel protocol.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnect-transitgatewayconnectoptions.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.mixins_preview.aws_ec2 import mixins as ec2_mixins

transit_gateway_connect_options_property = ec2_mixins.CfnTransitGatewayConnectPropsMixin.TransitGatewayConnectOptionsProperty(
    protocol="protocol"
)

Attributes

protocol

The tunnel protocol.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-transitgatewayconnect-transitgatewayconnectoptions.html#cfn-ec2-transitgatewayconnect-transitgatewayconnectoptions-protocol