@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
54 lines • 1.99 kB
JavaScript
;
// *** 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.getCoipPoolOutput = exports.getCoipPool = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Provides details about a specific EC2 Customer-Owned IP Pool.
*
* This data source can prove useful when a module accepts a coip pool id as
* an input variable and needs to, for example, determine the CIDR block of that
* COIP Pool.
*
* ## Example Usage
*
* The following example returns a specific coip pool ID
*/
function getCoipPool(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:ec2/getCoipPool:getCoipPool", {
"filters": args.filters,
"localGatewayRouteTableId": args.localGatewayRouteTableId,
"poolId": args.poolId,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getCoipPool = getCoipPool;
/**
* Provides details about a specific EC2 Customer-Owned IP Pool.
*
* This data source can prove useful when a module accepts a coip pool id as
* an input variable and needs to, for example, determine the CIDR block of that
* COIP Pool.
*
* ## Example Usage
*
* The following example returns a specific coip pool ID
*/
function getCoipPoolOutput(args, opts) {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:ec2/getCoipPool:getCoipPool", {
"filters": args.filters,
"localGatewayRouteTableId": args.localGatewayRouteTableId,
"poolId": args.poolId,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getCoipPoolOutput = getCoipPoolOutput;
//# sourceMappingURL=getCoipPool.js.map