UNPKG

@pulumi/aws

Version:

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

58 lines 1.83 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.getPublicIpv4PoolOutput = exports.getPublicIpv4Pool = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Provides details about a specific AWS EC2 Public IPv4 Pool. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getPublicIpv4Pool({ * poolId: "ipv4pool-ec2-000df99cff0c1ec10", * }); * ``` */ function getPublicIpv4Pool(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:ec2/getPublicIpv4Pool:getPublicIpv4Pool", { "poolId": args.poolId, "region": args.region, "tags": args.tags, }, opts); } exports.getPublicIpv4Pool = getPublicIpv4Pool; /** * Provides details about a specific AWS EC2 Public IPv4 Pool. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.ec2.getPublicIpv4Pool({ * poolId: "ipv4pool-ec2-000df99cff0c1ec10", * }); * ``` */ function getPublicIpv4PoolOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:ec2/getPublicIpv4Pool:getPublicIpv4Pool", { "poolId": args.poolId, "region": args.region, "tags": args.tags, }, opts); } exports.getPublicIpv4PoolOutput = getPublicIpv4PoolOutput; //# sourceMappingURL=getPublicIpv4Pool.js.map