Skip to content

RedshiftTarget

Source code in docs_src/capo_glue/types/redshift_target.py
class RedshiftTarget(TypedDict, closed=True):
    name: "capo_glue.types.node_name.NodeName"
    """<p>The name of the data target.</p>"""
    inputs: "capo_glue.types.one_input.OneInput"
    """<p>The nodes that are inputs to the data target.</p>"""
    database: "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    """<p>The name of the database to write to.</p>"""
    table: "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    """<p>The name of the table in the database to write to.</p>"""
    redshift_tmp_dir: NotRequired[
        "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    ]
    """<p>The Amazon S3 path where temporary data can be staged when copying out of the database.</p>"""
    tmp_dir_iam_role: NotRequired[
        "capo_glue.types.enclosed_in_string_property.EnclosedInStringProperty"
    ]
    """<p>The IAM role with permissions.</p>"""
    upsert_redshift_options: NotRequired[
        "capo_glue.types.upsert_redshift_target_options.UpsertRedshiftTargetOptions"
    ]
    """<p>The set of options to configure an upsert operation when writing to a Redshift target.</p>"""

database instance-attribute

The name of the database to write to.

inputs instance-attribute

inputs: OneInput

The nodes that are inputs to the data target.

name instance-attribute

name: NodeName

The name of the data target.

redshift_tmp_dir instance-attribute

redshift_tmp_dir: NotRequired[EnclosedInStringProperty]

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

table instance-attribute

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

tmp_dir_iam_role instance-attribute

tmp_dir_iam_role: NotRequired[EnclosedInStringProperty]

The IAM role with permissions.

upsert_redshift_options instance-attribute

upsert_redshift_options: NotRequired[UpsertRedshiftTargetOptions]

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