CfnTransitGatewayAttachmentMixinProps

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayAttachmentMixinProps(*, options=None, subnet_ids=None, tags=None, transit_gateway_id=None, vpc_id=None)

Bases: object

Properties for CfnTransitGatewayAttachmentPropsMixin.

Parameters:
  • options (Any) – The VPC attachment options.

  • subnet_ids (Optional[Sequence[str]]) – The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the attachment.

  • transit_gateway_id (Optional[str]) – The ID of the transit gateway.

  • vpc_id (Optional[str]) – The ID of the VPC.

See:

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

# options: Any

cfn_transit_gateway_attachment_mixin_props = ec2_mixins.CfnTransitGatewayAttachmentMixinProps(
    options=options,
    subnet_ids=["subnetIds"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_gateway_id="transitGatewayId",
    vpc_id="vpcId"
)

Attributes

options

The VPC attachment options.

See:

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

subnet_ids

The IDs of one or more subnets.

You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

See:

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

tags

The tags for the attachment.

See:

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

transit_gateway_id

The ID of the transit gateway.

See:

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

vpc_id

The ID of the VPC.

See:

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