Class: Aws::EMR::Types::Credentials
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::EMR::Types::Credentials
 
 
- 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
Defined Under Namespace
Classes: Unknown, UsernamePassword
Constant Summary collapse
- SENSITIVE =
 [:username_password]
Instance Attribute Summary collapse
- 
  
    
      #unknown  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute unknown.
 - 
  
    
      #username_password  ⇒ Types::UsernamePassword 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The username and password that you use to connect to cluster endpoints.
 
Instance Attribute Details
#unknown ⇒ Object
Returns the value of attribute unknown
      1328 1329 1330  | 
    
      # File 'lib/aws-sdk-emr/types.rb', line 1328 def unknown @unknown end  | 
  
#username_password ⇒ Types::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  |