package awsec2 // Properties for defining a `CfnVPCGatewayAttachment`. // // Example: // // The code below shows an example of how to instantiate this type. // // The values are placeholders you should change. // import "github.com/aws/aws-cdk-go/awscdk" // // cfnVPCGatewayAttachmentProps := &CfnVPCGatewayAttachmentProps{ // VpcId: jsii.String("vpcId"), // // // the properties below are optional // InternetGatewayId: jsii.String("internetGatewayId"), // VpnGatewayId: jsii.String("vpnGatewayId"), // } // // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html // type CfnVPCGatewayAttachmentProps struct { // The ID of the VPC. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-vpcid // VpcId *string `field:"required" json:"vpcId" yaml:"vpcId"` // The ID of the internet gateway. // // You must specify either `InternetGatewayId` or `VpnGatewayId` , but not both. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-internetgatewayid // InternetGatewayId *string `field:"optional" json:"internetGatewayId" yaml:"internetGatewayId"` // The ID of the virtual private gateway. // // You must specify either `InternetGatewayId` or `VpnGatewayId` , but not both. // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcgatewayattachment.html#cfn-ec2-vpcgatewayattachment-vpngatewayid // VpnGatewayId *string `field:"optional" json:"vpnGatewayId" yaml:"vpnGatewayId"` }