Class: Aws::MachineLearning::Types::RedshiftDatabaseCredentials

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

Overview

Describes the database credentials for connecting to a database on an Amazon Redshift cluster.

Constant Summary collapse

SENSITIVE =
[:password]

Instance Attribute Summary collapse

Instance Attribute Details

#passwordString

A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster. The password should have sufficient permissions to execute a ‘RedshiftSelectSqlQuery` query. The password should be valid for an Amazon Redshift [USER].

[1]: docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html

Returns:

  • (String)


3305
3306
3307
3308
3309
3310
# File 'lib/aws-sdk-machinelearning/types.rb', line 3305

class RedshiftDatabaseCredentials < Struct.new(
  :username,
  :password)
  SENSITIVE = [:password]
  include Aws::Structure
end

#usernameString

A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the ‘RedshiftSelectSqlQuery` query. The username should be valid for an Amazon Redshift [USER].

[1]: docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html

Returns:

  • (String)


3305
3306
3307
3308
3309
3310
# File 'lib/aws-sdk-machinelearning/types.rb', line 3305

class RedshiftDatabaseCredentials < Struct.new(
  :username,
  :password)
  SENSITIVE = [:password]
  include Aws::Structure
end