

# RedshiftDatabaseCredentials
<a name="API_RedshiftDatabaseCredentials"></a>

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

## Contents
<a name="API_RedshiftDatabaseCredentials_Contents"></a>

 ** Password **   <a name="amazonml-Type-RedshiftDatabaseCredentials-Password"></a>
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](https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html).  
Type: String  
Length Constraints: Minimum length of 8. Maximum length of 64.  
Required: Yes

 ** Username **   <a name="amazonml-Type-RedshiftDatabaseCredentials-Username"></a>
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](https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html).  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 128.  
Required: Yes

## See Also
<a name="API_RedshiftDatabaseCredentials_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/machinelearning-2014-12-12/RedshiftDatabaseCredentials) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/machinelearning-2014-12-12/RedshiftDatabaseCredentials) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/machinelearning-2014-12-12/RedshiftDatabaseCredentials) 