Class CfnVPCGatewayAttachmentProps
Properties for defining a CfnVPCGatewayAttachment
.
Inheritance
System.Object
CfnVPCGatewayAttachmentProps
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVPCGatewayAttachmentProps : Object, ICfnVPCGatewayAttachmentProps
Syntax (vb)
Public Class CfnVPCGatewayAttachmentProps
Inherits Object
Implements 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;
var cfnVPCGatewayAttachmentProps = new CfnVPCGatewayAttachmentProps {
VpcId = "vpcId",
// the properties below are optional
InternetGatewayId = "internetGatewayId",
VpnGatewayId = "vpnGatewayId"
};
Synopsis
Constructors
CfnVPCGatewayAttachmentProps() |
Properties
InternetGatewayId | The ID of the internet gateway. |
VpcId | The ID of the VPC. |
VpnGatewayId | The ID of the virtual private gateway. |
Constructors
CfnVPCGatewayAttachmentProps()
public CfnVPCGatewayAttachmentProps()
Properties
InternetGatewayId
The ID of the internet gateway.
public string InternetGatewayId { get; set; }
Property Value
System.String
Remarks
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.
VpcId
The ID of the VPC.
public string VpcId { get; set; }
Property Value
System.String
Remarks
VpnGatewayId
The ID of the virtual private gateway.
public string VpnGatewayId { get; set; }
Property Value
System.String
Remarks
You must specify either InternetGatewayId
or VpnGatewayId
, but not both.