Redshift
Updated at:
Use this reference to configure an Amazon Redshift data source in DataWorks.
Data source type:
redshiftSupported configuration mode (
ConnectionPropertiesMode): Connection string mode (UrlMode)
Connection string mode
Required parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
address | JSON array | [{"host": "127.0.0.1", "port": 5432}] | The cluster endpoint and port. Use a single host-port pair. |
database | String | my_database | The name of the database. |
username | String | xxxxx | The username. |
password | String | xxxxx | The password. |
envType | String | Dev | The data source environment. Valid values: Dev (development environment), Prod (production environment). |
Optional parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
properties | JSON object | {"connectTimeout": "2000"} | Additional JDBC driver properties. |
Configuration example
{
"address": [
{
"host": "127.0.0.1",
"port": 5432
}
],
"database": "db",
"properties": {
"connectTimeout": "2000"
},
"username": "xxxxx",
"password": "xxxxx",
"envType": "Dev"
}Is this page helpful?