Show / Hide Table of Contents

Interface ICfnTransitGatewayAttachmentProps

Properties for defining a CfnTransitGatewayAttachment.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public interface ICfnTransitGatewayAttachmentProps
Syntax (vb)
Public Interface ICfnTransitGatewayAttachmentProps
Remarks

Link: 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

Properties

Options

The VPC attachment options, in JSON or YAML.

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.

Properties

Options

The VPC attachment options, in JSON or YAML.

virtual object Options { get; }
Property Value

System.Object

Remarks

    Link: 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.

    string[] SubnetIds { get; }
    Property Value

    System.String[]

    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.

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

    Tags

    The tags for the attachment.

    virtual ICfnTag[] Tags { get; }
    Property Value

    ICfnTag[]

    Remarks

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

    TransitGatewayId

    The ID of the transit gateway.

    string TransitGatewayId { get; }
    Property Value

    System.String

    Remarks

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

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

    Back to top Generated by DocFX