AWS Native

Pulumi Official
Package maintained by Pulumi
v0.17.0 published on Monday, May 23, 2022 by Pulumi

getRouteTable

Resource Type definition for AWS::EC2::RouteTable

Using getRouteTable

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 getRouteTable(args: GetRouteTableArgs, opts?: InvokeOptions): Promise<GetRouteTableResult>
function getRouteTableOutput(args: GetRouteTableOutputArgs, opts?: InvokeOptions): Output<GetRouteTableResult>
def get_route_table(route_table_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetRouteTableResult
def get_route_table_output(route_table_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetRouteTableResult]
func LookupRouteTable(ctx *Context, args *LookupRouteTableArgs, opts ...InvokeOption) (*LookupRouteTableResult, error)
func LookupRouteTableOutput(ctx *Context, args *LookupRouteTableOutputArgs, opts ...InvokeOption) LookupRouteTableResultOutput

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

public static class GetRouteTable 
{
    public static Task<GetRouteTableResult> InvokeAsync(GetRouteTableArgs args, InvokeOptions? opts = null)
    public static Output<GetRouteTableResult> Invoke(GetRouteTableInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRouteTableResult> getRouteTable(GetRouteTableArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ec2:getRouteTable
  Arguments:
    # Arguments dictionary

The following arguments are supported:

RouteTableId string

The route table ID.

RouteTableId string

The route table ID.

routeTableId String

The route table ID.

routeTableId string

The route table ID.

route_table_id str

The route table ID.

routeTableId String

The route table ID.

getRouteTable Result

The following output properties are available:

RouteTableId string

The route table ID.

Tags List<Pulumi.AwsNative.EC2.Outputs.RouteTableTag>

Any tags assigned to the route table.

RouteTableId string

The route table ID.

Tags []RouteTableTag

Any tags assigned to the route table.

routeTableId String

The route table ID.

tags ListTableTag>

Any tags assigned to the route table.

routeTableId string

The route table ID.

tags RouteTableTag[]

Any tags assigned to the route table.

route_table_id str

The route table ID.

tags Sequence[RouteTableTag]

Any tags assigned to the route table.

routeTableId String

The route table ID.

tags List

Any tags assigned to the route table.

Supporting Types

RouteTableTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0