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

.NET
Go
Java
Python
TypeScript