interface CfnTransitGatewayAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnTransitGatewayAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnTransitGatewayAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnTransitGatewayAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnTransitGatewayAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnTransitGatewayAttachmentMixinProps |
Properties for CfnTransitGatewayAttachmentPropsMixin.
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 cfnTransitGatewayAttachmentMixinProps: ec2_mixins.CfnTransitGatewayAttachmentMixinProps = {
options: options,
subnetIds: ['subnetIds'],
tags: [{
key: 'key',
value: 'value',
}],
transitGatewayId: 'transitGatewayId',
vpcId: 'vpcId',
};
Properties
| Name | Type | Description |
|---|---|---|
| options? | any | The VPC attachment options. |
| subnet | string[] | The IDs of one or more subnets. |
| tags? | Cfn[] | The tags for the attachment. |
| transit | string | The ID of the transit gateway. |
| vpc | string | The ID of the VPC. |
options?
Type:
any
(optional)
The VPC attachment options.
subnetIds?
Type:
string[]
(optional)
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?
Type:
Cfn[]
(optional)
The tags for the 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