@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
58 lines • 1.82 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.getIdentityPoolOutput = exports.getIdentityPool = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Data source for managing an AWS Cognito Identity Pool.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.cognito.getIdentityPool({
* identityPoolName: "test pool",
* });
* ```
*/
function getIdentityPool(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("aws:cognito/getIdentityPool:getIdentityPool", {
"identityPoolName": args.identityPoolName,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getIdentityPool = getIdentityPool;
/**
* Data source for managing an AWS Cognito Identity Pool.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.cognito.getIdentityPool({
* identityPoolName: "test pool",
* });
* ```
*/
function getIdentityPoolOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("aws:cognito/getIdentityPool:getIdentityPool", {
"identityPoolName": args.identityPoolName,
"region": args.region,
"tags": args.tags,
}, opts);
}
exports.getIdentityPoolOutput = getIdentityPoolOutput;
//# sourceMappingURL=getIdentityPool.js.map
;