Class: Aws::ElastiCache::Types::AuthenticationMode

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

Overview

Note:

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

{
  type: "password", # accepts password, no-password-required, iam
  passwords: ["String"],
}

Specifies the authentication mode to use.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#passwordsArray<String>

Specifies the passwords to use for authentication if Type is set to password.

Returns:

  • (Array<String>)


134
135
136
137
138
139
# File 'lib/aws-sdk-elasticache/types.rb', line 134

class AuthenticationMode < Struct.new(
  :type,
  :passwords)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

Specifies the authentication type. Possible options are IAM authentication, password and no password.

Returns:

  • (String)


134
135
136
137
138
139
# File 'lib/aws-sdk-elasticache/types.rb', line 134

class AuthenticationMode < Struct.new(
  :type,
  :passwords)
  SENSITIVE = []
  include Aws::Structure
end