interface CfnVPCGatewayAttachmentMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins.CfnVPCGatewayAttachmentMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/mixins#CfnVPCGatewayAttachmentMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.ec2.mixins.CfnVPCGatewayAttachmentMixinProps |
Python | aws_cdk.mixins_preview.aws_ec2.mixins.CfnVPCGatewayAttachmentMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » mixins » CfnVPCGatewayAttachmentMixinProps |
Properties for CfnVPCGatewayAttachmentPropsMixin.
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';
const cfnVPCGatewayAttachmentMixinProps: ec2_mixins.CfnVPCGatewayAttachmentMixinProps = {
internetGatewayId: 'internetGatewayId',
vpcId: 'vpcId',
vpnGatewayId: 'vpnGatewayId',
};
Properties
| Name | Type | Description |
|---|---|---|
| internet | string | The ID of the internet gateway. |
| vpc | string | The ID of the VPC. |
| vpn | string | The ID of the virtual private gateway. |
internetGatewayId?
Type:
string
(optional)
The ID of the internet gateway.
You must specify either InternetGatewayId or VpnGatewayId , but not both.
vpcId?
Type:
string
(optional)
The ID of the VPC.
vpnGatewayId?
Type:
string
(optional)
The ID of the virtual private gateway.
You must specify either InternetGatewayId or VpnGatewayId , but not both.

.NET
Go
Java
Python
TypeScript