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",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ec2TransitGateway
Assembly: Pulumi.Aws.dll
Syntax
public class TransitGateway : CustomResource
Constructors
View SourceTransitGateway(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 SourceAmazonSideAsn
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>> |
Arn
EC2 Transit Gateway Amazon Resource Name (ARN)
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AssociationDefaultRouteTableId
Identifier of the default association route table
Declaration
public Output<string> AssociationDefaultRouteTableId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
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> |
Description
Description of the EC2 Transit Gateway.
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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> |
PropagationDefaultRouteTableId
Identifier of the default propagation route table
Declaration
public Output<string> PropagationDefaultRouteTableId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
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 SourceGet(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 |