Class: Aws::MemoryDB::Types::CreateUserRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb

Overview

Note:

When making an API call, you may pass CreateUserRequest data as a hash:

{
  user_name: "UserName", # required
  authentication_mode: { # required
    type: "password", # accepts password
    passwords: ["String"],
  },
  access_string: "AccessString", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_stringString

Access permissions string used for this user.

Returns:

  • (String)


996
997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 996

class CreateUserRequest < Struct.new(
  :user_name,
  :authentication_mode,
  :access_string,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#authentication_modeTypes::AuthenticationMode

Denotes the user's authentication properties, such as whether it requires a password to authenticate.



996
997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 996

class CreateUserRequest < Struct.new(
  :user_name,
  :authentication_mode,
  :access_string,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::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.

Returns:



996
997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 996

class CreateUserRequest < Struct.new(
  :user_name,
  :authentication_mode,
  :access_string,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

The name of the user. This value must be unique as it also serves as the user identifier.

Returns:

  • (String)


996
997
998
999
1000
1001
1002
1003
# File 'gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/types.rb', line 996

class CreateUserRequest < Struct.new(
  :user_name,
  :authentication_mode,
  :access_string,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end