Show / Hide Table of Contents

Class CfnCarrierGatewayProps

Properties for defining a CfnCarrierGateway.

Inheritance
object
CfnCarrierGatewayProps
Implements
ICfnCarrierGatewayProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCarrierGatewayProps : ICfnCarrierGatewayProps
Syntax (vb)
Public Class CfnCarrierGatewayProps Implements ICfnCarrierGatewayProps
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.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;

             var cfnCarrierGatewayProps = new CfnCarrierGatewayProps {
                 VpcId = "vpcId",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnCarrierGatewayProps()

Properties for defining a CfnCarrierGateway.

Properties

Tags

The tags assigned to the carrier gateway.

VpcId

The ID of the VPC associated with the carrier gateway.

Constructors

CfnCarrierGatewayProps()

Properties for defining a CfnCarrierGateway.

public CfnCarrierGatewayProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.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;

             var cfnCarrierGatewayProps = new CfnCarrierGatewayProps {
                 VpcId = "vpcId",

                 // the properties below are optional
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

Tags

The tags assigned to the carrier gateway.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html#cfn-ec2-carriergateway-tags

VpcId

The ID of the VPC associated with the carrier gateway.

public string VpcId { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html#cfn-ec2-carriergateway-vpcid

Implements

ICfnCarrierGatewayProps
Back to top Generated by DocFX