--- id: aws-cdk-aws-redshift-alpha version: "2.265.0a0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # aws-cdk.aws-redshift-alpha — The CDK Construct Library for AWS::Redshift License: permissive · Maintenance: active · Downloads: 151.0K/mo ## 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 above — 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 pip install aws-cdk-aws-redshift-alpha uv add aws-cdk-aws-redshift-alpha 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_current - Install friction: low - Maintenance: active - Downloads: 151.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags redshift cluster infrastructure as code, aws cdk redshift construct, redshift database user management, cdk redshift vpc setup, redshift audit logging s3, redshift cluster provisioning cdk, aws-cdk, infrastructure-as-code, experimental [View on SkillFed](https://skillfed.io/packages/aws-cdk-aws-redshift-alpha) · [View on PyPI](https://pypi.org/project/aws-cdk-aws-redshift-alpha/)