destinations.impl.redshift.factory
redshift Objects
class redshift(Destination[RedshiftClientConfiguration, "RedshiftClient"])
__init__
def __init__(credentials: t.Union[RedshiftCredentials, t.Dict[str, t.Any],
str] = None,
staging_iam_role: t.Optional[str] = None,
has_case_sensitive_identifiers: bool = False,
destination_name: t.Optional[str] = None,
environment: t.Optional[str] = None,
**kwargs: t.Any) -> None
Configure the Redshift destination to use in a pipeline.
All arguments provided here supersede other configuration sources such as environment variables and dlt config files.
Arguments:
credentials
- Credentials to connect to the redshift database. Can be an instance ofRedshiftCredentials
or a connection string in the formatredshift://user:password@host:port/database
staging_iam_role
- IAM role to use for staging data in S3has_case_sensitive_identifiers
- Are case sensitive identifiers enabled for a database**kwargs
- Additional arguments passed to the destination config