NAME

Paws::ElastiCache::CreateUser - Arguments for method CreateUser on Paws::ElastiCache

DESCRIPTION

This class represents the parameters used for calling the method CreateUser on the Amazon ElastiCache service. Use the attributes of this class as arguments to method CreateUser.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUser.

SYNOPSIS

my $elasticache = Paws->service('ElastiCache');
my $User = $elasticache->CreateUser(
  AccessString       => 'MyAccessString',
  Engine             => 'MyEngineType',
  UserId             => 'MyUserId',
  UserName           => 'MyUserName',
  NoPasswordRequired => 1,                      # OPTIONAL
  Passwords          => [ 'MyString', ... ],    # OPTIONAL
  Tags               => [
    {
      Key   => 'MyString',
      Value => 'MyString',
    },
    ...
  ],                                            # OPTIONAL
);

# Results:
my $ARN            = $User->ARN;
my $AccessString   = $User->AccessString;
my $Authentication = $User->Authentication;
my $Engine         = $User->Engine;
my $Status         = $User->Status;
my $UserGroupIds   = $User->UserGroupIds;
my $UserId         = $User->UserId;
my $UserName       = $User->UserName;

# Returns a L<Paws::ElastiCache::User> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/elasticache/CreateUser

ATTRIBUTES

REQUIRED AccessString => Str

Access permissions string used for this user.

REQUIRED Engine => Str

The current supported value is Redis.

NoPasswordRequired => Bool

Indicates a password is not required for this user.

Passwords => ArrayRef[Str|Undef]

Passwords used for this user. You can create up to two passwords for each user.

Tags => ArrayRef[Paws::ElastiCache::Tag]

A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.

REQUIRED UserId => Str

The ID of the user.

REQUIRED UserName => Str

The username of the user.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateUser in Paws::ElastiCache

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues