get Route Tables
This resource can be useful for getting back a list of route table ids to be referenced elsewhere.
Return
A collection of values returned by getRouteTables.
Parameters
argument
A collection of arguments for invoking getRouteTables.
suspend fun getRouteTables(filters: List<GetRouteTablesFilter>? = null, tags: Map<String, String>? = null, vpcId: String? = null): GetRouteTablesResult
Return
A collection of values returned by getRouteTables.
Parameters
filters
Custom filter block as described below.
tags
Map of tags, each pair of which must exactly match a pair on the desired route tables. More complex filters can be expressed using one or more filter
sub-blocks, which take the following arguments:
vpc Id
VPC ID that you want to filter from.
See also
suspend fun getRouteTables(argument: suspend GetRouteTablesPlainArgsBuilder.() -> Unit): GetRouteTablesResult
Return
A collection of values returned by getRouteTables.
Parameters
argument
Builder for com.pulumi.aws.ec2.kotlin.inputs.GetRouteTablesPlainArgs.