RedshiftTarget - AWS Glue

RedshiftTarget

Specifies a target that uses Amazon Redshift.

Contents

Database

The name of the database to write to.

Type: String

Pattern: ([\u0009\u000B\u000C\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF])*

Required: Yes

Inputs

The nodes that are inputs to the data target.

Type: Array of strings

Array Members: Fixed number of 1 item.

Pattern: [A-Za-z0-9_-]*

Required: Yes

Name

The name of the data target.

Type: String

Pattern: ([^\r\n])*

Required: Yes

Table

The name of the table in the database to write to.

Type: String

Pattern: ([\u0009\u000B\u000C\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF])*

Required: Yes

RedshiftTmpDir

The Amazon S3 path where temporary data can be staged when copying out of the database.

Type: String

Pattern: ([\u0009\u000B\u000C\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF])*

Required: No

TmpDirIAMRole

The IAM role with permissions.

Type: String

Pattern: ([\u0009\u000B\u000C\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF])*

Required: No

UpsertRedshiftOptions

The set of options to configure an upsert operation when writing to a Redshift target.

Type: UpsertRedshiftTargetOptions object

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: