interface CfnTransitGatewayVpcAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnTransitGatewayVpcAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnTransitGatewayVpcAttachmentMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayVpcAttachmentMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnTransitGatewayVpcAttachmentMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnTransitGatewayVpcAttachmentMixinProps |
Properties for CfnTransitGatewayVpcAttachmentPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
declare const options: any;
const cfnTransitGatewayVpcAttachmentMixinProps: ec2.CfnTransitGatewayVpcAttachmentMixinProps = {
addSubnetIds: ['addSubnetIds'],
options: options,
removeSubnetIds: ['removeSubnetIds'],
subnetIds: ['subnetIds'],
tags: [{
key: 'key',
value: 'value',
}],
transitGatewayId: 'transitGatewayId',
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| add | string[] | The IDs of one or more subnets to add. |
| options? | any | The VPC attachment options. |
| remove | string[] | The IDs of one or more subnets to remove. |
| subnet | string[] | The IDs of the subnets. |
| tags? | Cfn[] | The tags for the VPC attachment. |
| transit | string | ITransit | The ID of the transit gateway. |
| vpc | string | The ID of the VPC. |
addSubnetIds?
Type:
string[]
(optional)
The IDs of one or more subnets to add.
You can specify at most one subnet per Availability Zone.
options?
Type:
any
(optional)
The VPC attachment options.
removeSubnetIds?
Type:
string[]
(optional)
The IDs of one or more subnets to remove.
subnetIds?
Type:
string[]
(optional)
The IDs of the subnets.
tags?
Type:
Cfn[]
(optional)
The tags for the VPC attachment.
transitGatewayId?
Type:
string | ITransit
(optional)
The ID of the transit gateway.
vpcId?
Type:
string
(optional)
The ID of the VPC.

.NET
Go
Java
Python
TypeScript