class Aws::MachineLearning::Types::RedshiftMetadata

Describes the `DataSource` details specific to Amazon Redshift.

@!attribute [rw] redshift_database

Describes the database details required to connect to an Amazon
Redshift database.
@return [Types::RedshiftDatabase]

@!attribute [rw] database_user_name

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

[1]: https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html
@return [String]

@!attribute [rw] select_sql_query

The SQL query that is specified during CreateDataSourceFromRedshift.
Returns only if `Verbose` is true in GetDataSourceInput.
@return [String]

Constants

SENSITIVE