AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getUser

Resource Type definition for AWS::ElastiCache::User

Using getUser

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
def get_user(user_id: Optional[str] = None,
             opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(user_id: Optional[pulumi.Input[str]] = None,
             opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput

> Note: This function is named LookupUser in the Go SDK.

public static class GetUser 
{
    public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
    public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:elasticache:getUser
  Arguments:
    # Arguments dictionary

The following arguments are supported:

UserId string

The ID of the user.

UserId string

The ID of the user.

userId String

The ID of the user.

userId string

The ID of the user.

user_id str

The ID of the user.

userId String

The ID of the user.

getUser Result

The following output properties are available:

Arn string

The Amazon Resource Name (ARN) of the user account.

Status string

Indicates the user status. Can be "active", "modifying" or "deleting".

Arn string

The Amazon Resource Name (ARN) of the user account.

Status string

Indicates the user status. Can be "active", "modifying" or "deleting".

arn String

The Amazon Resource Name (ARN) of the user account.

status String

Indicates the user status. Can be "active", "modifying" or "deleting".

arn string

The Amazon Resource Name (ARN) of the user account.

status string

Indicates the user status. Can be "active", "modifying" or "deleting".

arn str

The Amazon Resource Name (ARN) of the user account.

status str

Indicates the user status. Can be "active", "modifying" or "deleting".

arn String

The Amazon Resource Name (ARN) of the user account.

status String

Indicates the user status. Can be "active", "modifying" or "deleting".

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0