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:
objectProperties 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:
- 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.
- options
The VPC attachment options.
- remove_subnet_ids
The IDs of one or more subnets to remove.
- subnet_ids
The IDs of the subnets.
- tags
The tags for the VPC attachment.
- transit_gateway_id
The ID of the transit gateway.