$npx skillfedfor your agent

aws-cdk.aws-batch

The CDK Construct Library for AWS::Batch

SkipPyPI Build ToolsReleased Jun 2023114.3K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — aws_cdk.aws_batch-1.204.0-py3-none-any.whl
v1.204.0 · released 2023-06-19 · Python ~=3.7 · 11 runtime deps: aws-cdk.aws-ec2, aws-cdk.aws-ecr, aws-cdk.aws-ecs, aws-cdk.aws-iam, aws-cdk.aws-secretsmanager, aws-cdk.aws-ssm, aws-cdk.core, constructs

No—do not install for new projects. AWS CDK v1 is end-of-support as of 2023-06-01 and receives no updates. Use AWS CDK v2's batch constructs instead. For existing CDK v1 projects already in production, this package will continue to work but should be migrated to v2 on a planned schedule to maintain security and feature parity.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires AWS CDK v1 core library and an active AWS account; AWS CDK v1 is end-of-support as of 2023-06-01.
  • Low install friction with pure Python wheel distribution.
  • Maintenance status is active, but the package is classified as Inactive (Development Status 7) because AWS CDK v1 reached end-of-support on 2023-06-01; users should migrate to AWS CDK v2.

License · maintenance · safety

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

last release 2023-06-19 (1152 days) · last repo commit 2026-08-14 · 12,868 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,336 downloads/mo, #12,303 on PyPI

Verify before relying

pip install aws-cdk.aws-batch

from aws_cdk import aws_batch as batch
from aws_cdk import aws_ec2 as ec2

vpc = ec2.Vpc(self, "VPC")
compute_env = batch.ComputeEnvironment(self, "ComputeEnv",
    compute_resources=batch.ComputeResources(vpc=vpc)
)
  • Whether existing CDK v1 deployments using this package continue to function in production after the 2023-06-01 end-of-support date.
  • Migration path complexity and effort required to move from CDK v1 to CDK v2 for projects currently using this package.
Same gist for agents: .md · .json

What it is and what it does

This package provides AWS CDK v1 constructs for defining AWS Batch infrastructure in Python code. It lets you declare compute environments (managed or unmanaged, supporting EC2, Spot, and Fargate), job queues with priority-based scheduling, and job definitions—all the core resources needed to run batch workloads on AWS. The package wraps AWS Batch's queue-based job processing model, allowing you to specify resource requirements, container images, environment variables, and allocation strategies programmatically.

However, AWS CDK v1 reached end-of-support on 2023-06-01 and is no longer being updated. New projects should use AWS CDK v2 instead. Existing projects using this package will continue to work but will not receive bug fixes, security updates, or new features. The package depends on 11 runtime libraries including aws-cdk.aws-ec2, aws-cdk.aws-ecs, aws-cdk.aws-iam, and the core CDK framework.

Use it for

  • Define managed compute environments that auto-scale EC2 or Fargate resources based on batch job demand.
  • Create job queues with priority-based scheduling to handle high-priority jobs before lower-priority ones.
  • Specify job definitions with container images, vCPU/memory requirements, and environment variables as infrastructure code.
  • Configure spot-based compute environments to reduce costs by bidding for EC2 Spot instances at a percentage of on-demand pricing.
  • Import and reference existing AWS Batch resources (compute environments, queues) into CDK stacks for hybrid infrastructure management.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—do not install for new projects.

AWS CDK v1 is end-of-support as of 2023-06-01 and receives no updates. Use AWS CDK v2's batch constructs instead. For existing CDK v1 projects already in production, this package will continue to work but should be migrated to v2 on a planned schedule to maintain security and feature parity.

Install

aws-cdk-aws-batch on PyPI

Before you install

Low install friction with pure Python wheel distribution. Maintenance status is active, but the package is classified as Inactive (Development Status 7) because AWS CDK v1 reached end-of-support on 2023-06-01; users should migrate to AWS CDK v2.

Requires AWS CDK v1 core library and an active AWS account; AWS CDK v1 is end-of-support as of 2023-06-01.

License in practice

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

Quickstart

pip install aws-cdk.aws-batch

from aws_cdk import aws_batch as batch
from aws_cdk import aws_ec2 as ec2

vpc = ec2.Vpc(self, "VPC")
compute_env = batch.ComputeEnvironment(self, "ComputeEnv",
    compute_resources=batch.ComputeResources(vpc=vpc)
)

Verify before relying

  • Whether existing CDK v1 deployments using this package continue to function in production after the 2023-06-01 end-of-support date.
  • Migration path complexity and effort required to move from CDK v1 to CDK v2 for projects currently using this package.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release ~=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
11 packages
aws-cdk.aws-ec2aws-cdk.aws-ecraws-cdk.aws-ecsaws-cdk.aws-iamaws-cdk.aws-secretsmanageraws-cdk.aws-ssmaws-cdk.coreconstructsjsiipublicationtypeguard
MaintenanceActively maintained 1,152 days since the last release
Last repo commit
First released
Downloads114,336 / month, #12,303 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveFramework :: AWS CDKFramework :: AWS CDK :: 1Intended Audience :: DevelopersLicense :: OSI ApprovedOperating System :: OS IndependentProgramming Language :: JavaScriptProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Typed

Evidence: aws_cdk.aws_batch-1.204.0-py3-none-any.whl

Tags

Capabilities
aws batch infrastructure as codecdk batch job queueaws batch compute environmentbatch processing cdkaws batch job definitioncdk batch provisioning
Topics
cdk-v1-eolaws-batchinfrastructure-as-code

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “aws batch infrastructure as code”

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also aws-cdk.aws-ec2 · aws-cdk.aws-ecs · aws-cdk.aws-sqs · cdk-gitlab-runner · aws-cdk.aws-fsx · aws-cdk.aws-autoscaling · aws-cdk.aws-efs · codeflare-sdk · aws-cdk.aws-elasticloadbalancingv2 · aws-cdk.aws-glue-alpha