aws-cdk.aws-redshift-alpha
The CDK Construct Library for AWS::Redshift
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-alphauv
uv add aws-cdk-aws-redshift-alphapoetry
poetry add aws-cdk-aws-redshift-alphaInstalling 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
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
aws-cdk.aws-neptune-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecsProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-ec2Provides AWS CDK constructs for defining EC2…
permissive · top 15,000 on PyPI
aws-cdk.aws-ecrProvides AWS CDK constructs for defining,…
permissive · top 15,000 on PyPI
aws-cdk.aws-efsProvides CDK constructs to define Amazon EFS…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisfirehose-alphaProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
aws-cdk.aws-kinesisanalytics-flink-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-dynamodbProvides AWS CDK constructs for defining,…
permissive · top 15,000 on PyPI
aws-cdk.aws-s3tables-alphaProvides AWS CDK constructs for defining and…
permissive · top 15,000 on PyPI
aws-cdk.aws-codestar-alphaProvides AWS CDK constructs for AWS CodeStar…
permissive · top 15,000 on PyPI