Show / Hide Table of Contents

Class TransitGateway

Manages an EC2 Transit Gateway.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = new Aws.Ec2TransitGateway.TransitGateway("example", new Aws.Ec2TransitGateway.TransitGatewayArgs
    {
        Description = "example",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
TransitGateway
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2TransitGateway
Assembly: Pulumi.Aws.dll
Syntax
public class TransitGateway : CustomResource

Constructors

View Source

TransitGateway(String, TransitGatewayArgs, CustomResourceOptions)

Create a TransitGateway resource with the given unique name, arguments, and options.

Declaration
public TransitGateway(string name, TransitGatewayArgs args = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

TransitGatewayArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

AmazonSideAsn

Private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. Default value: 64512.

Declaration
public Output<int?> AmazonSideAsn { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

Arn

EC2 Transit Gateway Amazon Resource Name (ARN)

Declaration
public Output<string> Arn { get; }
Property Value
Type Description
Output<System.String>
View Source

AssociationDefaultRouteTableId

Identifier of the default association route table

Declaration
public Output<string> AssociationDefaultRouteTableId { get; }
Property Value
Type Description
Output<System.String>
View Source

AutoAcceptSharedAttachments

Whether resource attachment requests are automatically accepted. Valid values: disable, enable. Default value: disable.

Declaration
public Output<string> AutoAcceptSharedAttachments { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultRouteTableAssociation

Whether resource attachments are automatically associated with the default association route table. Valid values: disable, enable. Default value: enable.

Declaration
public Output<string> DefaultRouteTableAssociation { get; }
Property Value
Type Description
Output<System.String>
View Source

DefaultRouteTablePropagation

Whether resource attachments automatically propagate routes to the default propagation route table. Valid values: disable, enable. Default value: enable.

Declaration
public Output<string> DefaultRouteTablePropagation { get; }
Property Value
Type Description
Output<System.String>
View Source

Description

Description of the EC2 Transit Gateway.

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

DnsSupport

Whether DNS support is enabled. Valid values: disable, enable. Default value: enable.

Declaration
public Output<string> DnsSupport { get; }
Property Value
Type Description
Output<System.String>
View Source

OwnerId

Identifier of the AWS account that owns the EC2 Transit Gateway

Declaration
public Output<string> OwnerId { get; }
Property Value
Type Description
Output<System.String>
View Source

PropagationDefaultRouteTableId

Identifier of the default propagation route table

Declaration
public Output<string> PropagationDefaultRouteTableId { get; }
Property Value
Type Description
Output<System.String>
View Source

Tags

Key-value tags for the EC2 Transit Gateway.

Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

VpnEcmpSupport

Whether VPN Equal Cost Multipath Protocol support is enabled. Valid values: disable, enable. Default value: enable.

Declaration
public Output<string> VpnEcmpSupport { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, TransitGatewayState, CustomResourceOptions)

Get an existing TransitGateway resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static TransitGateway Get(string name, Input<string> id, TransitGatewayState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

TransitGatewayState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
TransitGateway
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.