Show / Hide Table of Contents

Interface ICfnTransitGatewayVpcAttachmentProps

Properties for defining a CfnTransitGatewayVpcAttachment.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnTransitGatewayVpcAttachmentProps
Syntax (vb)
Public Interface 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

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.

Properties

AddSubnetIds

The IDs of one or more subnets to add.

string[]? AddSubnetIds { get; }
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.

object? Options { get; }
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.

string[]? RemoveSubnetIds { get; }
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.

string[] SubnetIds { get; }
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.

ICfnTag[]? Tags { get; }
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.

object TransitGatewayId { get; }
Property Value

object

Remarks

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

Type union: either string or ITransitGatewayRef

VpcId

The ID of the VPC.

string VpcId { get; }
Property Value

string

Remarks

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

Back to top Generated by DocFX