Interface ICfnVPCGatewayAttachmentProps
Properties for defining a CfnVPCGatewayAttachment
.
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnVPCGatewayAttachmentProps
Syntax (vb)
Public Interface ICfnVPCGatewayAttachmentProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
CfnVPCGatewayAttachmentProps cfnVPCGatewayAttachmentProps = new CfnVPCGatewayAttachmentProps {
VpcId = "vpcId",
// the properties below are optional
InternetGatewayId = "internetGatewayId",
VpnGatewayId = "vpnGatewayId"
};
Synopsis
Properties
InternetGatewayId | The ID of the internet gateway. |
VpcId | The ID of the VPC. |
VpnGatewayId | The ID of the virtual private gateway. |
Properties
InternetGatewayId
The ID of the internet gateway.
virtual string InternetGatewayId { get; }
Property Value
System.String
Remarks
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.
VpcId
The ID of the VPC.
string VpcId { get; }
Property Value
System.String
Remarks
VpnGatewayId
The ID of the virtual private gateway.
virtual string VpnGatewayId { get; }
Property Value
System.String
Remarks
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.