Class: Aws::DataZone::Types::RedshiftCredentials

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

Overview

Note:

RedshiftCredentials is a union - when making an API calls you must set exactly one of the members.

Note:

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

Amazon Redshift credentials of a connection.

Direct Known Subclasses

SecretArn, Unknown, UsernamePassword

Defined Under Namespace

Classes: SecretArn, Unknown, UsernamePassword

Constant Summary collapse

SENSITIVE =
[:username_password]

Instance Attribute Summary collapse

Instance Attribute Details

#secret_arnString

The secret ARN of the Amazon Redshift credentials of a connection.

Returns:

  • (String)


16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 16002

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

  class SecretArn < RedshiftCredentials; end
  class UsernamePassword < RedshiftCredentials; end
  class Unknown < RedshiftCredentials; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



16002
16003
16004
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 16002

def unknown
  @unknown
end

#username_passwordTypes::UsernamePassword

The username and password of the Amazon Redshift credentials of a connection.



16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
# File 'gems/aws-sdk-datazone/lib/aws-sdk-datazone/types.rb', line 16002

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

  class SecretArn < RedshiftCredentials; end
  class UsernamePassword < RedshiftCredentials; end
  class Unknown < RedshiftCredentials; end
end