skillfed

aws-cdk.aws-amplify-alpha

The CDK Construct Library for AWS::Amplify

aws-cdk-aws-amplify-alpha v2.265.0a0 197.8K downloads/30d#9,748 on PyPI12,868
Permissive license Apache-2.0 Active released

What it is and what it does

This package provides CDK constructs for defining AWS Amplify Console applications as infrastructure code. It lets you programmatically set up Git-connected fullstack serverless apps with support for GitHub, GitLab, and CodeCommit repositories, configure multiple branches with environment variables and performance settings, define custom routing rules and single-page application redirects, map custom domains with auto-subdomain registration, and add basic auth and custom response headers.

The package wraps Amplify Console's Git-based workflow into Python classes that integrate with the AWS CDK ecosystem. It depends on aws-cdk-lib for core CDK functionality, constructs for the component model, jsii for language bindings, and publication for metadata handling. The APIs are explicitly marked experimental and subject to breaking changes between releases, so production use requires acceptance of potential upgrade friction.

Use it for:

  • Define a fullstack serverless app with GitHub integration, multiple branches (main/dev/staging), and automatic branch preview deployments
  • Set up custom domain routing with auto-generated subdomains for feature branches and pull request previews
  • Configure single-page application rewrites and custom HTTP response headers for specific URL patterns in a monorepo
  • Protect staging or development branches with basic authentication while keeping production public
  • Automate branch creation and deletion for feature branches matching a naming pattern

Worth the install?

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

Defines AWS Amplify hosting infrastructure as code using CDK constructs, enabling Git-based deployment of fullstack serverless web applications with branches, domains, and custom routing rules.

Yes, if you use AWS CDK and need to manage Amplify hosting infrastructure as code. The low install friction and active maintenance are positive. However, accept that the experimental status means breaking changes may occur on upgrades—pin the version and review release notes before updating. Not suitable if you need API stability guarantees.

Install

aws-cdk-aws-amplify-alpha on PyPI

pip

pip install aws-cdk-aws-amplify-alpha

uv

uv add aws-cdk-aws-amplify-alpha

poetry

poetry add aws-cdk-aws-amplify-alpha

Installing aws-cdk.aws-amplify-alpha

Before you install

Low install friction with 4 runtime dependencies. Package is actively maintained with a release 1 day old. However, marked as experimental and subject to non-backward compatible changes—breaking updates may require source code modifications when upgrading.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.

Quickstart

pip install aws-cdk-aws-amplify-alpha

from aws_cdk import aws_amplify_alpha as amplify
from aws_cdk.aws_secretsmanager import SecretValue

amplify_app = amplify.App(self, "MyApp",
    source_code_provider=amplify.GitHubSourceCodeProvider(
        owner="myorg",
        repository="myrepo",
        oauth_token=SecretValue.secrets_manager("github-token")
    )
)

Requires AWS CDK >= 2.x and Python >= 3.10. Depends on aws-cdk-lib, constructs, jsii, and publication packages.

Verify before relying

  • Stability timeline: when experimental APIs are expected to stabilize or whether breaking changes are frequent
  • Performance characteristics under typical branch/domain scaling scenarios
  • Compatibility with specific AWS Amplify Console features not covered in the excerpt

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 197,777/month — #9,748 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aws_cdk_aws_amplify_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

aws amplify cdk constructsserverless web app deploymentgit-based hosting infrastructureamplify console infrastructure as codebranch management and domain routing
aws-cdkinfrastructure-as-codeexperimental-api

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

aws-cdk.aws-codestar-alpha

Provides AWS CDK constructs for AWS CodeStar…

permissive · top 15,000 on PyPI

aws-cdk.aws-sam

Provides AWS CDK v1 constructs for defining…

permissive · top 15,000 on PyPI

aws-cdk.aws-codebuild

Defines AWS CodeBuild projects and build…

permissive · top 15,000 on PyPI

aws-cdk.aws-imagebuilder

Provides AWS CDK L1 constructs for defining and…

permissive · top 15,000 on PyPI

aws-cdk.aws-apigateway

Provides AWS CDK constructs for defining and…

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-kinesisfirehose-destinations-alpha

Provides AWS CDK constructs for configuring…

permissive · top 15,000 on PyPI

aws-solutions-constructs.core

Provides core building blocks and default…

permissive · top 15,000 on PyPI

aws-cdk.aws-elasticloadbalancing

Provides AWS CDK constructs for configuring and…

permissive · top 15,000 on PyPI

aws-cdk.aws-events

Provides AWS CDK constructs for defining Amazon…

permissive · top 15,000 on PyPI