UNPKG

@pulumi/aws

Version:

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

56 lines 1.68 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.getUserPoolOutput = exports.getUserPool = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for managing an AWS Cognito User Pool. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.cognito.getUserPool({ * userPoolId: "us-west-2_aaaaaaaaa", * }); * ``` */ function getUserPool(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:cognito/getUserPool:getUserPool", { "region": args.region, "userPoolId": args.userPoolId, }, opts); } exports.getUserPool = getUserPool; /** * Data source for managing an AWS Cognito User Pool. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.cognito.getUserPool({ * userPoolId: "us-west-2_aaaaaaaaa", * }); * ``` */ function getUserPoolOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:cognito/getUserPool:getUserPool", { "region": args.region, "userPoolId": args.userPoolId, }, opts); } exports.getUserPoolOutput = getUserPoolOutput; //# sourceMappingURL=getUserPool.js.map