getLocalGatewayRouteTables

Provides information for multiple EC2 Local Gateway Route Tables, such as their identifiers.

Example Usage

The following shows outputting all Local Gateway Route Table Ids.

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetLocalGatewayRouteTablesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var fooLocalGatewayRouteTables = Ec2Functions.getLocalGatewayRouteTables();
ctx.export("foo", fooLocalGatewayRouteTables.applyValue(getLocalGatewayRouteTablesResult -> getLocalGatewayRouteTablesResult.ids()));
}
}

Return

A collection of values returned by getLocalGatewayRouteTables.

Parameters

argument

A collection of arguments for invoking getLocalGatewayRouteTables.


Return

A collection of values returned by getLocalGatewayRouteTables.

Parameters

filters

Custom filter block as described below. More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

tags

Mapping of tags, each pair of which must exactly match a pair on the desired local gateway route table.

See also


Return

A collection of values returned by getLocalGatewayRouteTables.

Parameters

argument

Builder for com.pulumi.aws.ec2.kotlin.inputs.GetLocalGatewayRouteTablesPlainArgs.

See also