Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents
maxLevel2
absoluteUrltrue

Overview

Use this account type to connect Redshift Snaps with data sources that use Redshift Cross-Account IAM Role SSL Account.

Prerequisites

Access to the following folders:

  • Private project folder
  • Project Space’s shared folder
  • Global shared folder

Limitations

None.

Known Issues

None.

Account Settings

ParameterData TypeDescriptionDefault ValueExample 
Label*String

Specify a unique label for the account.

N/ARedshift_SSLCross_IAM_Account
JDBC Driver Class

String/Expression

Enter the JDBC driver class to use in your application.

org.postgresql.Driverorg.postgresql.Driver
JDBC JARs

Specify or upload the JDBC JAR files that you want to use. You can upload the Redshift driver(s) that can override the default org.postgresql.Driver driver. Set the Batch size value to 1 with the JDBC driver version RedshiftJDBC41-1.1.10.1010.jar. Specify each JDBC Driver as a separate row. Click  to add a new row. We recommend, RedshiftJDBC42-1.2.10.1009.jar version when using Redshift Bulk Upsert Snap in your Pipeline.

JDBC DriverString/Expression

Select the JDBC driver to use.

Note

If you leave this field blank, the Default JDBC driver is used.


N/AN/A
JDBC Url

String/Expression

Enter the URL of the JDBC database.N/Ajdbc:redshift://hostname:port/database

Account properties*


Configure the information required to establish a database connection with the account.

Endpoint*

String/Expression

Enter the server's address to establish a connection.N/Afieldcluster.cvnsysusue7w2.us-east-1.redshift.amazonaws.com
Port number*

Numeric/Expression


Enter the database server's port to connect to the host.54395439
Database name*

String/Expression

Enter the database name to connect.N/Aweqter
Username

String/Expression

Enter the username to connect to the database. Username is used as the default username when retrieving connections. The username must be valid in order to set up the data source.N/Aadmin
Password

String/Expression

Enter the password to connect to the data source. Password is used as the default password when retrieving connections. The password must be valid in order to set up the data source.N/AN/A
S3 BucketString/Expression

Enter the external S3 Bucket name residing in an external AWS account, to use for staging data onto Redshift.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps.


N/Asl-bucket-ca
S3 Folder

String/Expression

Enter the relative path to a folder in S3 Bucket. This is used as a root folder for staging data onto Redshift.N/As3://sl-bucket/sfo
S3 Bucket RegionString/Expression

Enter the name of the region where the S3 bucket belongs.

Note

This field is required if the Redshift cluster and the S3 bucket are in the different regions.


N/Aus-east-2
S3 Bucket Write IAM Role ARNString/Expression

Enter the IAM role to write to the S3 bucket which resides in an external AWS account.

Note
  • You need to have write and delete permissions in this role.
  • This field is required when using Bulk load Snap (with input view data source), Bulk Upsert Snap, and Unload Snap.


N/Aarn:aws:iam::133198801419:role/IamRoleForCanary
External IDString/ExpressionEnter an optional external ID which is required by the role. This field is applicable only for streaming bulk load.N/A7609567
TrustStoreString/ExpressionEnter the location of the trust store file. It can be located in SLDB or any other unauthenticated endpoint such as 'https://'. You can also browse for the location.N/Aredshiftstore4
TrustStore PasswordString/ExpressionEnter the password for the truststore file. N/A12@*^87*
IAM properties (Redshift Cluster)
Specify the information for Redshift to communicate with IAM.

AWS account IDString/Expression

Enter the ID of the Amazon Web Services account to be used for performing bulk load operation.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps.


N/A 


763091233961
IAM role nameString/Expression

Enter the name of the IAM role associated with the target Redshift cluster to access the S3 bucket. redshift cluster to access the S3 bucket provided above.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps.


N/Adas-crossaccount-role1
S3 Bucket Read IAM RoleSpecify the Cross-Account IAM properties information for Redshift to communicate with IAM.
IAM Role ARNString/Expression

Enter the ARN of the IAM role set on the above S3 bucket.

Note

This field is required when using Redshift Bulk Load with input view data source, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps.


N/Aarn:aws:iam::133198801419:role/cross-account-access-snap6776-das
Advanced properties
Specify advanced properties to support this account.

Auto commit

Checkbox


Select this check box to enable the Snap to commit offsets automatically as messages are consumed and sent to the output view. If the Snap fails, only the batch being executed at that moment is rolled back.

SelectedDeselected
Batch size*Numeric/Expression

Required. Enter the number of statements to execute at a time.

Note

This field is required when using Redshift Bulk Load, Redshift Bulk Upsert, Redshift S3 Upsert, and Redshift Unload Snaps. User-defined types are not if a JDBC driver with a version other than 11.2.0.4.0 is set.


5070
Fetch size*Numeric/Expression

Required. Enter the number of rows to fetch at a time when executing a query.

Note

User-defined types are not supported if a JDBC driver with a version other than 11.2.0.4.0 is set.


10056
Max pool size*Numeric/Expression

Required. Enter the maximum number of connections that a pool maintains at a time.

Note

Redshift Bulk Load/Bulk Upsert/S3 Upsert Snap requires a minimum of two connections per Snap in a pipeline. For example, if a pipeline has a Redshift Bulk Load Snap and an S3 Upsert Snap, then the pool size must be greater than or equal to four for successful execution.


5010
Max life time*

Numeric/Expression


Required. Enter the maximum lifetime of a connection in the pool.

Note

Ensure that the value you enter is a few seconds lesser than any database or infrastructure-imposed connection time limit. A value of 0 indicates an infinite lifetime, subject to the Idle Timeout value. An in-use connection is never retired. Connections are removed only after they are closed.


3015
Idle Timeout*

Numeric/Expression


Required. Enter the maximum amount of time a connection that should remain idle in the pool. A value of 0 indicates that idle connections are never removed from the pool.51
Checkout timeoutNumeric/Expression


Required. Enter the number of milliseconds to wait for a connection to be available when the pool is exhausted. 

A value of 0 indicates that the wait time to checkout is infinite. An exception is thrown after the wait time expires


Info

If you provide 0, the Snap waits infinitely until the connection is available. Therefore, we recommend you not to specify 0 for Checkout Timeout.

10002000
URL PropertiesSpecify the URL properties associated to this account.

URL property name

Numeric/Expression


Enter the URL property name.N/Assl
URL property value

Numeric/Expression


Enter the URL property value.N/Atrue

...


Standard Encryption

If you are using Standard Encryption, the High sensitivity settings under Enhanced Encryption are followed.


Enhanced Encryption

If you have the Enhanced Account Encryption feature, the following describes which fields are encrypted for each sensitivity level selected per each account.

Account:

  • High: Password, S3 Access-key ID, S3 Secret key
  • Medium + High: Username, Password, S3 Access-key ID, S3 Secret key
  • Low + Medium + High: Endpoint, Database name, Username, Password, S3 Bucket, S3 Folder, S3 Access-key ID, S3 Secret key, URL property value


Troubleshooting

None.

...


...

Related Content