interface CfnTransitGatewayVpcAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnTransitGatewayVpcAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnTransitGatewayVpcAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnTransitGatewayVpcAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayVpcAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » 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 { mixins as ec2_mixins } from '@aws-cdk/mixins-preview/aws-ec2';
declare const options: any;
const cfnTransitGatewayVpcAttachmentMixinProps: ec2_mixins.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 | 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
(optional)
The ID of the transit gateway.
vpcId?
Type:
string
(optional)
The ID of the VPC.

.NET
Go
Java
Python
TypeScript