You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RedshiftDatabaseCredentials as input to an Aws::Client method, you can use a vanilla Hash:

{
  username: "RedshiftDatabaseUsername", # required
  password: "RedshiftDatabasePassword", # required
}

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

Returned by:

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.

Returns:

  • (String)

    A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster.

#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.

Returns:

  • (String)

    A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster.