@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
42 lines (41 loc) • 1.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Resource Type definition for AWS::ElastiCache::User
*/
export declare function getUser(args: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
export interface GetUserArgs {
/**
* The ID of the user.
*/
userId: string;
}
export interface GetUserResult {
/**
* The Amazon Resource Name (ARN) of the user account.
*/
readonly arn?: string;
/**
* The target cache engine for the user.
*/
readonly engine?: enums.elasticache.UserEngine;
/**
* Indicates the user status. Can be "active", "modifying" or "deleting".
*/
readonly status?: string;
/**
* An array of key-value pairs to apply to this user.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource Type definition for AWS::ElastiCache::User
*/
export declare function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
export interface GetUserOutputArgs {
/**
* The ID of the user.
*/
userId: pulumi.Input<string>;
}