UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

66 lines 2.25 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getLocalGatewayRouteTablesOutput = exports.getLocalGatewayRouteTables = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * 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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * export = async () => { * const foo = await aws.ec2.getLocalGatewayRouteTables({}); * return { * foo: foo.ids, * }; * } * ``` */ function getLocalGatewayRouteTables(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ec2/getLocalGatewayRouteTables:getLocalGatewayRouteTables", { "filters": args.filters, "region": args.region, "tags": args.tags, }, opts); } exports.getLocalGatewayRouteTables = 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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * export = async () => { * const foo = await aws.ec2.getLocalGatewayRouteTables({}); * return { * foo: foo.ids, * }; * } * ``` */ function getLocalGatewayRouteTablesOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ec2/getLocalGatewayRouteTables:getLocalGatewayRouteTables", { "filters": args.filters, "region": args.region, "tags": args.tags, }, opts); } exports.getLocalGatewayRouteTablesOutput = getLocalGatewayRouteTablesOutput; //# sourceMappingURL=getLocalGatewayRouteTables.js.map