interface CfnTransitGatewayAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnTransitGatewayAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnTransitGatewayAttachmentMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnTransitGatewayAttachmentMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnTransitGatewayAttachmentMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » 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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
declare const options: any;
const cfnTransitGatewayAttachmentMixinProps: ec2.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 | ISubnet)[] | The IDs of one or more subnets. |
| tags? | Cfn[] | The tags for the attachment. |
| transit | string | ITransit | The ID of the transit gateway. |
| vpc | string | IVPCRef | The ID of the VPC. |
options?
Type:
any
(optional)
The VPC attachment options.
subnetIds?
Type:
(string | ISubnet)[]
(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 | ITransit
(optional)
The ID of the transit gateway.
vpcId?
Type:
string | IVPCRef
(optional)
The ID of the VPC.

.NET
Go
Java
Python
TypeScript