Skip to main content

pc.create_connection_redshift

pc.create_connection_redshift(name, address, database, username, password)

Create connection with Amazon Redshift storage.

Parameters:

   name: str
Name of connection.

   address: str
Endpoint address of the Redshift cluster.

   database: str
Database name to pull tables from.

   username: str
User to authenticate as.

   password: str
Password used to authenticate.

Returns:

   Connection

Examples:

Connect to an Amazon Redshift cluster.

    connection = pc.create_connection_redshift('Redshift Connection', '{Cluster Url}', '{Database Name}', '{Username}', '{Password}')