airflow.providers.amazon.aws.utils.redshift

Module Contents

Functions

build_credentials_block(credentials)

Generate AWS credentials block for Redshift COPY and UNLOAD commands.

Attributes

log

airflow.providers.amazon.aws.utils.redshift.log[source]
airflow.providers.amazon.aws.utils.redshift.build_credentials_block(credentials)[source]

Generate AWS credentials block for Redshift COPY and UNLOAD commands.

See AWS docs for details: https://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-authorization.html#copy-credentials

Parameters

credentials (botocore.credentials.ReadOnlyCredentials) – ReadOnlyCredentials object from botocore

Was this entry helpful?