AWS Classic
getLocalGatewayRouteTables
Provides information for multiple EC2 Local Gateway Route Tables, such as their identifiers.
Using getLocalGatewayRouteTables
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 getLocalGatewayRouteTables(args: GetLocalGatewayRouteTablesArgs, opts?: InvokeOptions): Promise<GetLocalGatewayRouteTablesResult>
function getLocalGatewayRouteTablesOutput(args: GetLocalGatewayRouteTablesOutputArgs, opts?: InvokeOptions): Output<GetLocalGatewayRouteTablesResult>
def get_local_gateway_route_tables(filters: Optional[Sequence[GetLocalGatewayRouteTablesFilter]] = None,
tags: Optional[Mapping[str, str]] = None,
opts: Optional[InvokeOptions] = None) -> GetLocalGatewayRouteTablesResult
def get_local_gateway_route_tables_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetLocalGatewayRouteTablesFilterArgs]]]] = None,
tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLocalGatewayRouteTablesResult]
func GetLocalGatewayRouteTables(ctx *Context, args *GetLocalGatewayRouteTablesArgs, opts ...InvokeOption) (*GetLocalGatewayRouteTablesResult, error)
func GetLocalGatewayRouteTablesOutput(ctx *Context, args *GetLocalGatewayRouteTablesOutputArgs, opts ...InvokeOption) GetLocalGatewayRouteTablesResultOutput
> Note: This function is named GetLocalGatewayRouteTables
in the Go SDK.
public static class GetLocalGatewayRouteTables
{
public static Task<GetLocalGatewayRouteTablesResult> InvokeAsync(GetLocalGatewayRouteTablesArgs args, InvokeOptions? opts = null)
public static Output<GetLocalGatewayRouteTablesResult> Invoke(GetLocalGatewayRouteTablesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLocalGatewayRouteTablesResult> getLocalGatewayRouteTables(GetLocalGatewayRouteTablesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: aws:ec2/getLocalGatewayRouteTables:getLocalGatewayRouteTables
Arguments:
# Arguments dictionary
The following arguments are supported:
- Filters
List<Pulumi.
Aws. Ec2. Inputs. Get Local Gateway Route Tables Filter> Custom filter block as described below.
- Dictionary<string, string>
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
- Filters
[]Get
Local Gateway Route Tables Filter Custom filter block as described below.
- map[string]string
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
- filters
List<Get
Local Gateway Route Tables Filter> Custom filter block as described below.
- Map<String,String>
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
- filters
Get
Local Gateway Route Tables Filter[] Custom filter block as described below.
- {[key: string]: string}
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
- filters
Sequence[Get
Local Gateway Route Tables Filter] Custom filter block as described below.
- Mapping[str, str]
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
- filters List<Property Map>
Custom filter block as described below.
- Map<String>
A mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.
getLocalGatewayRouteTables Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
Set of Local Gateway Route Table identifiers
- Dictionary<string, string>
- Filters
List<Pulumi.
Aws. Ec2. Outputs. Get Local Gateway Route Tables Filter>
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
Set of Local Gateway Route Table identifiers
- map[string]string
- Filters
[]Get
Local Gateway Route Tables Filter
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
Set of Local Gateway Route Table identifiers
- Map<String,String>
- filters
List<Get
Local Gateway Route Tables Filter>
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
Set of Local Gateway Route Table identifiers
- {[key: string]: string}
- filters
Get
Local Gateway Route Tables Filter[]
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
Set of Local Gateway Route Table identifiers
- Mapping[str, str]
- filters
Sequence[Get
Local Gateway Route Tables Filter]
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
Set of Local Gateway Route Table identifiers
- Map<String>
- filters List<Property Map>
Supporting Types
GetLocalGatewayRouteTablesFilter
- Name string
The name of the field to filter by, as defined by the underlying AWS API.
- Values List<string>
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
- Name string
The name of the field to filter by, as defined by the underlying AWS API.
- Values []string
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
- name String
The name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
- name string
The name of the field to filter by, as defined by the underlying AWS API.
- values string[]
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
- name str
The name of the field to filter by, as defined by the underlying AWS API.
- values Sequence[str]
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
- name String
The name of the field to filter by, as defined by the underlying AWS API.
- values List<String>
Set of values that are accepted for the given field. A Local Gateway Route Table will be selected if any one of the given values matches.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.