1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getTransitGatewayRouteTable

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ec2.getTransitGatewayRouteTable

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::EC2::TransitGatewayRouteTable

Using getTransitGatewayRouteTable

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getTransitGatewayRouteTable(args: GetTransitGatewayRouteTableArgs, opts?: InvokeOptions): Promise<GetTransitGatewayRouteTableResult>
function getTransitGatewayRouteTableOutput(args: GetTransitGatewayRouteTableOutputArgs, opts?: InvokeOptions): Output<GetTransitGatewayRouteTableResult>
Copy
def get_transit_gateway_route_table(transit_gateway_route_table_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetTransitGatewayRouteTableResult
def get_transit_gateway_route_table_output(transit_gateway_route_table_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetTransitGatewayRouteTableResult]
Copy
func LookupTransitGatewayRouteTable(ctx *Context, args *LookupTransitGatewayRouteTableArgs, opts ...InvokeOption) (*LookupTransitGatewayRouteTableResult, error)
func LookupTransitGatewayRouteTableOutput(ctx *Context, args *LookupTransitGatewayRouteTableOutputArgs, opts ...InvokeOption) LookupTransitGatewayRouteTableResultOutput
Copy

> Note: This function is named LookupTransitGatewayRouteTable in the Go SDK.

public static class GetTransitGatewayRouteTable 
{
    public static Task<GetTransitGatewayRouteTableResult> InvokeAsync(GetTransitGatewayRouteTableArgs args, InvokeOptions? opts = null)
    public static Output<GetTransitGatewayRouteTableResult> Invoke(GetTransitGatewayRouteTableInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTransitGatewayRouteTableResult> getTransitGatewayRouteTable(GetTransitGatewayRouteTableArgs args, InvokeOptions options)
public static Output<GetTransitGatewayRouteTableResult> getTransitGatewayRouteTable(GetTransitGatewayRouteTableArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ec2:getTransitGatewayRouteTable
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TransitGatewayRouteTableId This property is required. string
Transit Gateway Route Table primary identifier
TransitGatewayRouteTableId This property is required. string
Transit Gateway Route Table primary identifier
transitGatewayRouteTableId This property is required. String
Transit Gateway Route Table primary identifier
transitGatewayRouteTableId This property is required. string
Transit Gateway Route Table primary identifier
transit_gateway_route_table_id This property is required. str
Transit Gateway Route Table primary identifier
transitGatewayRouteTableId This property is required. String
Transit Gateway Route Table primary identifier

getTransitGatewayRouteTable Result

The following output properties are available:

Tags List<Pulumi.AwsNative.Outputs.Tag>
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
TransitGatewayRouteTableId string
Transit Gateway Route Table primary identifier
Tags Tag
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
TransitGatewayRouteTableId string
Transit Gateway Route Table primary identifier
tags List<Tag>
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
transitGatewayRouteTableId String
Transit Gateway Route Table primary identifier
tags Tag[]
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
transitGatewayRouteTableId string
Transit Gateway Route Table primary identifier
tags Sequence[root_Tag]
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
transit_gateway_route_table_id str
Transit Gateway Route Table primary identifier
tags List<Property Map>
Tags are composed of a Key/Value pair. You can use tags to categorize and track each parameter group. The tag value null is permitted.
transitGatewayRouteTableId String
Transit Gateway Route Table primary identifier

Supporting Types

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi