skillfed

aws-cdk.aws-redshift-alpha

The CDK Construct Library for AWS::Redshift

aws-cdk-aws-redshift-alpha v2.265.0a0 151.0K downloads/30d#10,948 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This is an AWS CDK construct library for Redshift that lets you define and manage Redshift clusters and database resources programmatically in Python. It wraps Redshift provisioning into high-level CDK constructs, handling VPC setup, encryption, secrets management, and audit logging configuration. The library is experimental—its APIs are under active development and may change between releases without backward compatibility guarantees.

You use it to define a Redshift cluster with a master user, optional VPC, node type, and logging configuration, then instantiate database users and tables as CDK constructs. Database credentials are automatically generated and stored in AWS Secrets Manager. The library uses CloudFormation custom resources to manage database-level objects (users, tables) that CloudFormation doesn't natively support, requiring IAM permissions and database credentials for the custom resource handler.

Use it for:

  • Provision Redshift clusters with VPC isolation and encryption as part of a CDK stack deployment.
  • Manage Redshift database users and credentials automatically via CDK, with passwords stored in Secrets Manager.
  • Configure audit logging to S3 for compliance and security monitoring during cluster creation.
  • Enable Availability Zone relocation on RA3 clusters to allow Redshift to move clusters without data loss.
  • Control network access to Redshift clusters using CDK security group constructs.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Defines AWS Redshift clusters and database resources (users, tables) as CDK constructs, enabling infrastructure-as-code management of Redshift deployments with VPC integration and audit logging.

Yes, if you are using AWS CDK for infrastructure and need to manage Redshift clusters programmatically. The low install friction and active maintenance are positive signals. However, be aware that this library is experimental—expect potential breaking changes in future releases and review the release notes carefully when upgrading. Not suitable if you require stable, long-term API compatibility.

Install

aws-cdk-aws-redshift-alpha on PyPI

pip

pip install aws-cdk-aws-redshift-alpha

uv

uv add aws-cdk-aws-redshift-alpha

poetry

poetry add aws-cdk-aws-redshift-alpha

Installing aws-cdk.aws-redshift-alpha

Before you install

Low friction install with four runtime dependencies. Actively maintained as of 2026-08-14 with recent releases. Marked as experimental/beta—APIs are subject to non-backward compatible changes without semantic versioning guarantees.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions; suitable for most projects.

Quickstart

from aws_cdk.aws_redshift_alpha import Cluster, Login
import aws_cdk.aws_ec2 as ec2

vpc = ec2.Vpc(self, "Vpc")
cluster = Cluster(self, "Redshift",
    master_user=Login(master_username="admin"),
    vpc=vpc
)

Requires AWS CDK environment setup and Python 3.10 or later; cluster creation requires AWS credentials and VPC configuration.

Verify before relying

  • Whether custom resource handlers for database users incur additional AWS costs beyond Redshift cluster charges.
  • Specific node types supported beyond RA3_LARGE and RA3_XLPLUS mentioned in examples.
  • Performance characteristics and scaling limits for managing multiple database resources via custom resources.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — aws-cdk-lib, constructs, jsii, publication
Maintenance actively maintained — 1 days since the last release
Last repo commit
First released
Downloads 150,960/month — #10,948 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_aws_redshift_alpha-2.265.0a0-py3-none-any.whl

Development Status :: 4 - BetaFramework :: AWS CDKFramework :: AWS CDK :: 2Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed

Tags

redshift cluster infrastructure as codeaws cdk redshift constructredshift database user managementcdk redshift vpc setupredshift audit logging s3redshift cluster provisioning cdk
aws-cdkinfrastructure-as-codeexperimental

More Database packages

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

redis

Python client library for connecting to and…

permissive · top 1,000 on PyPI

ydb

YDB Python SDK is the official client library…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

sqlparse

sqlparse tokenizes SQL text into a tree of…

permissive · top 1,000 on PyPI

dbt-adapters

Provides base adapter protocols and shared…

permissive · top 1,000 on PyPI

aws-cdk.aws-neptune-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecs

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-ec2

Provides AWS CDK constructs for defining EC2…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecr

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-efs

Provides CDK constructs to define Amazon EFS…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisfirehose-alpha

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI

aws-cdk.aws-kinesisanalytics-flink-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-dynamodb

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

aws-cdk.aws-s3tables-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-codestar-alpha

Provides AWS CDK constructs for AWS CodeStar…

permissive · top 15,000 on PyPI