Show / Hide Table of Contents

Class CfnTransitGatewayVpcAttachmentProps

Properties for defining a CfnTransitGatewayVpcAttachment.

Inheritance
object
CfnTransitGatewayVpcAttachmentProps
Implements
ICfnTransitGatewayVpcAttachmentProps
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 CfnTransitGatewayVpcAttachmentProps : ICfnTransitGatewayVpcAttachmentProps
Syntax (vb)
Public Class CfnTransitGatewayVpcAttachmentProps Implements ICfnTransitGatewayVpcAttachmentProps
Remarks

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

             var cfnTransitGatewayVpcAttachmentProps = new CfnTransitGatewayVpcAttachmentProps {
                 SubnetIds = new [] { "subnetIds" },
                 TransitGatewayId = "transitGatewayId",
                 VpcId = "vpcId",

                 // the properties below are optional
                 AddSubnetIds = new [] { "addSubnetIds" },
                 Options = options,
                 RemoveSubnetIds = new [] { "removeSubnetIds" },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Synopsis

Constructors

CfnTransitGatewayVpcAttachmentProps()

Properties for defining a CfnTransitGatewayVpcAttachment.

Properties

AddSubnetIds

The IDs of one or more subnets to add.

Options

The VPC attachment options.

RemoveSubnetIds

The IDs of one or more subnets to remove.

SubnetIds

The IDs of the subnets.

Tags

The tags for the VPC attachment.

TransitGatewayId

The ID of the transit gateway.

VpcId

The ID of the VPC.

Constructors

CfnTransitGatewayVpcAttachmentProps()

Properties for defining a CfnTransitGatewayVpcAttachment.

public CfnTransitGatewayVpcAttachmentProps()
Remarks

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

             var cfnTransitGatewayVpcAttachmentProps = new CfnTransitGatewayVpcAttachmentProps {
                 SubnetIds = new [] { "subnetIds" },
                 TransitGatewayId = "transitGatewayId",
                 VpcId = "vpcId",

                 // the properties below are optional
                 AddSubnetIds = new [] { "addSubnetIds" },
                 Options = options,
                 RemoveSubnetIds = new [] { "removeSubnetIds" },
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } }
             };

Properties

AddSubnetIds

The IDs of one or more subnets to add.

public string[]? AddSubnetIds { get; set; }
Property Value

string[]

Remarks

You can specify at most one subnet per Availability Zone.

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

Options

The VPC attachment options.

public object? Options { get; set; }
Property Value

object

Remarks

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

RemoveSubnetIds

The IDs of one or more subnets to remove.

public string[]? RemoveSubnetIds { get; set; }
Property Value

string[]

Remarks

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

SubnetIds

The IDs of the subnets.

public string[] SubnetIds { get; set; }
Property Value

string[]

Remarks

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

Tags

The tags for the VPC attachment.

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

ICfnTag[]

Remarks

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

TransitGatewayId

The ID of the transit gateway.

public string TransitGatewayId { get; set; }
Property Value

string

Remarks

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

VpcId

The ID of the VPC.

public string VpcId { get; set; }
Property Value

string

Remarks

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

Implements

ICfnTransitGatewayVpcAttachmentProps
Back to top Generated by DocFX