Class: Aws::ElastiCache::Types::CreateUserMessage

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

Overview

Note:

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

{
  user_id: "UserId", # required
  user_name: "UserName", # required
  engine: "EngineType", # required
  passwords: ["String"],
  access_string: "AccessString", # required
  no_password_required: false,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_stringString

Access permissions string used for this user.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end

#engineString

The current supported value is Redis.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end

#no_password_requiredBoolean

Indicates a password is not required for this user.

Returns:

  • (Boolean)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end

#passwordsArray<String>

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

Returns:

  • (Array<String>)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end

#user_idString

The ID of the user.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end

#user_nameString

The username of the user.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/types.rb', line 2876

class CreateUserMessage < Struct.new(
  :user_id,
  :user_name,
  :engine,
  :passwords,
  :access_string,
  :no_password_required)
  SENSITIVE = []
  include Aws::Structure
end