Class: Aws::EMR::Types::Credentials

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

Overview

Note:

Credentials is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Credentials corresponding to the set member.

The credentials that you can use to connect to cluster endpoints. Credentials consist of a username and a password.

Direct Known Subclasses

Unknown, UsernamePassword

Defined Under Namespace

Classes: Unknown, UsernamePassword

Constant Summary collapse

SENSITIVE =
[:username_password]

Instance Attribute Summary collapse

Instance Attribute Details

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1328
1329
1330
# File 'lib/aws-sdk-emr/types.rb', line 1328

def unknown
  @unknown
end

#username_passwordTypes::UsernamePassword

The username and password that you use to connect to cluster endpoints.



1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
# File 'lib/aws-sdk-emr/types.rb', line 1328

class Credentials < Struct.new(
  :username_password,
  :unknown)
  SENSITIVE = [:username_password]
  include Aws::Structure
  include Aws::Structure::Union

  class UsernamePassword < Credentials; end
  class Unknown < Credentials; end
end