UNPKG

@pulumi/aws

Version:

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

64 lines 2.09 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.getUserOutput = exports.getUser = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to get information about an ElastiCache User. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const bar = aws.elasticache.getUser({ * userId: "example", * }); * ``` */ function getUser(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:elasticache/getUser:getUser", { "accessString": args.accessString, "authenticationModes": args.authenticationModes, "engine": args.engine, "noPasswordRequired": args.noPasswordRequired, "passwords": args.passwords, "region": args.region, "userId": args.userId, "userName": args.userName, }, opts); } exports.getUser = getUser; /** * Use this data source to get information about an ElastiCache User. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const bar = aws.elasticache.getUser({ * userId: "example", * }); * ``` */ function getUserOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:elasticache/getUser:getUser", { "accessString": args.accessString, "authenticationModes": args.authenticationModes, "engine": args.engine, "noPasswordRequired": args.noPasswordRequired, "passwords": args.passwords, "region": args.region, "userId": args.userId, "userName": args.userName, }, opts); } exports.getUserOutput = getUserOutput; //# sourceMappingURL=getUser.js.map