Show / Hide Table of Contents

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-internetgatewayid

VpcId

The ID of the VPC.

string VpcId { get; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpcid

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.

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc-gateway-attachment.html#cfn-ec2-vpcgatewayattachment-vpngatewayid

Back to top Generated by DocFX