Class RouteTable
Manages an EC2 Transit Gateway Route Table.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Ec2TransitGateway.RouteTable("example", new Aws.Ec2TransitGateway.RouteTableArgs
{
TransitGatewayId = aws_ec2_transit_gateway.Example.Id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Ec2TransitGateway
Assembly: Pulumi.Aws.dll
Syntax
public class RouteTable : CustomResource
Constructors
View SourceRouteTable(String, RouteTableArgs, CustomResourceOptions)
Create a RouteTable resource with the given unique name, arguments, and options.
Declaration
public RouteTable(string name, RouteTableArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RouteTableArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDefaultAssociationRouteTable
Boolean whether this is the default association route table for the EC2 Transit Gateway.
Declaration
public Output<bool> DefaultAssociationRouteTable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
DefaultPropagationRouteTable
Boolean whether this is the default propagation route table for the EC2 Transit Gateway.
Declaration
public Output<bool> DefaultPropagationRouteTable { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Tags
Key-value tags for the EC2 Transit Gateway Route Table.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
TransitGatewayId
Identifier of EC2 Transit Gateway.
Declaration
public Output<string> TransitGatewayId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RouteTableState, CustomResourceOptions)
Get an existing RouteTable resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RouteTable Get(string name, Input<string> id, RouteTableState 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. |
| RouteTableState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RouteTable |