Show / Hide Table of Contents

Class CfnTransitGatewayAttachmentProps

Properties for defining a CfnTransitGatewayAttachment.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.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 cfnTransitGatewayAttachmentProps = new CfnTransitGatewayAttachmentProps {
                 SubnetIds = new [] { "subnetIds" },
                 TransitGatewayId = "transitGatewayId",
                 VpcId = "vpcId",

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

Synopsis

Constructors

CfnTransitGatewayAttachmentProps()

Properties for defining a CfnTransitGatewayAttachment.

Properties

Options

The VPC attachment options.

SubnetIds

The IDs of one or more subnets.

Tags

The tags for the attachment.

TransitGatewayId

The ID of the transit gateway.

VpcId

The ID of the VPC.

Constructors

CfnTransitGatewayAttachmentProps()

Properties for defining a CfnTransitGatewayAttachment.

public CfnTransitGatewayAttachmentProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.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 cfnTransitGatewayAttachmentProps = new CfnTransitGatewayAttachmentProps {
                 SubnetIds = new [] { "subnetIds" },
                 TransitGatewayId = "transitGatewayId",
                 VpcId = "vpcId",

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

Properties

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-transitgatewayattachment.html#cfn-ec2-transitgatewayattachment-options

SubnetIds

The IDs of one or more subnets.

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

object[]

Remarks

You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

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

Type union: (either string or ISubnetRef)[]

Tags

The tags for the attachment.

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

ICfnTag[]

Remarks

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

TransitGatewayId

The ID of the transit gateway.

public object TransitGatewayId { get; set; }
Property Value

object

Remarks

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

Type union: either string or ITransitGatewayRef

VpcId

The ID of the VPC.

public object VpcId { get; set; }
Property Value

object

Remarks

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

Type union: either string or IVPCRef

Implements

ICfnTransitGatewayAttachmentProps
Back to top Generated by DocFX