skillfed

aws-cdk.aws-apprunner-alpha

The CDK Construct Library for AWS::AppRunner

aws-cdk-aws-apprunner-alpha v2.265.0a0 93.4K downloads/30d#13,389 on PyPI12,869
Permissive license Apache-2.0 Active released

What it is and what it does

This package is an experimental AWS CDK construct library for App Runner, a fully managed service that deploys and scales containerized web applications without requiring infrastructure expertise. It wraps the low-level CloudFormation resources into higher-level Python constructs, letting you define App Runner services declaratively in your CDK stacks.

The library supports multiple deployment sources: ECR repositories, ECR Public images, GitHub repositories with CI/CD integration, and local Docker asset directories. It also provides constructs for configuring auto-scaling, VPC connectivity, IAM roles, and private ingress endpoints. The package is marked as experimental and subject to breaking changes across versions, so production use requires awareness of potential migration costs when upgrading.

Use it for:

  • Deploy a containerized web application from an ECR Public image with automatic load balancing and scaling.
  • Set up continuous deployment from a GitHub repository with App Runner handling builds and container orchestration.
  • Build and push a local Docker image to ECR, then deploy it as an App Runner service with auto-scaling configuration.
  • Create a private App Runner service accessible only from within a VPC using VPC connectors and ingress endpoints.
  • Define IAM roles and policies for an App Runner service to access other AWS resources like S3 buckets.

Worth the install?

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

Provides AWS CDK constructs for deploying containerized applications to AWS App Runner with support for ECR, ECR Public, GitHub, and local Docker assets as deployment sources.

Yes, if you are using AWS CDK and need to deploy containerized applications to App Runner. The low install friction, active maintenance, and permissive license make it straightforward to adopt. However, the experimental status means you should expect potential breaking changes in future releases and plan for code updates when upgrading versions.

Install

aws-cdk-aws-apprunner-alpha on PyPI

pip

pip install aws-cdk-aws-apprunner-alpha

uv

uv add aws-cdk-aws-apprunner-alpha

poetry

poetry add aws-cdk-aws-apprunner-alpha

Installing aws-cdk.aws-apprunner-alpha

Before you install

Released 1 day ago with active maintenance; low install friction and a pure-Python wheel distribution. Requires Python 3.10 or later and depends on aws-cdk-lib, constructs, jsii, and publication.

License in practice

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

Quickstart

pip install aws-cdk.aws-apprunner-alpha

import aws_cdk.aws_apprunner_alpha as apprunner

service = apprunner.Service(self, "MyService",
    source=apprunner.Source.from_ecr_public(
        image_configuration=apprunner.ImageConfiguration(port=8000),
        image_identifier="public.ecr.aws/aws-containers/hello-app-runner:latest"
    )
)

Requires Python 3.10 or later and an existing AWS CDK stack context (self parameter must be a valid CDK Construct).

Verify before relying

  • Whether the alpha stability banner means breaking changes are expected in near-term releases
  • Whether all four source types (ECR, ECR Public, GitHub, asset) are equally mature or if some have known limitations

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

Evidence: aws_cdk_aws_apprunner_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 app runner cdkcontainerized app deployment cdkecr app runner constructgithub app runner deployaws cdk apprunnercontainer service infrastructure as codeapp runner vpc connector
aws-cdkinfrastructure-as-codecontainer-deployment

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

aws-cdk.aws-ecr

Provides AWS CDK constructs for defining,…

permissive · top 15,000 on PyPI

cdk-gitlab-runner

Defines AWS infrastructure for GitLab Runner…

permissive · top 15,000 on PyPI

cdk-ecr-deployment

A CDK construct that copies Docker images…

permissive · top 15,000 on PyPI

aws-cdk.aws-ecr-assets

Bundles Docker images as AWS CDK assets,…

permissive · top 15,000 on PyPI

aws-cdk.integ-tests-alpha

Provides constructs and utilities for writing…

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-ec2

Provides AWS CDK constructs for defining EC2…

permissive · top 15,000 on PyPI

aws-cdk.aws-neptune-alpha

Provides AWS CDK constructs for defining and…

permissive · top 15,000 on PyPI

awslambdaric

Implements the AWS Lambda Runtime API to make…

permissive · top 5,000 on PyPI

aws-cdk.aws-glue-alpha

Provides AWS CDK L2 constructs for defining AWS…

permissive · top 5,000 on PyPI