CfnTransitGatewayVpcAttachmentMixinProps

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

Bases: object

Properties for CfnTransitGatewayVpcAttachmentPropsMixin.

Parameters:
  • add_subnet_ids (Optional[Sequence[str]]) – The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

  • options (Any) – The VPC attachment options.

  • remove_subnet_ids (Optional[Sequence[str]]) – The IDs of one or more subnets to remove.

  • subnet_ids (Optional[Sequence[str]]) – The IDs of the subnets.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags for the VPC 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-transitgatewayvpcattachment.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_vpc_attachment_mixin_props = ec2_mixins.CfnTransitGatewayVpcAttachmentMixinProps(
    add_subnet_ids=["addSubnetIds"],
    options=options,
    remove_subnet_ids=["removeSubnetIds"],
    subnet_ids=["subnetIds"],
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    transit_gateway_id="transitGatewayId",
    vpc_id="vpcId"
)

Attributes

add_subnet_ids

The IDs of one or more subnets to add.

You can specify at most one subnet per Availability Zone.

See:

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

options

The VPC attachment options.

See:

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

remove_subnet_ids

The IDs of one or more subnets to remove.

See:

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

subnet_ids

The IDs of the subnets.

See:

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

tags

The tags for the VPC attachment.

See:

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

transit_gateway_id

The ID of the transit gateway.

See:

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

vpc_id

The ID of the VPC.

See:

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