Skip to main content

Asset with AWS CLI v2

---

cdk-constructs: Experimental


This library is currently under development. Do not use!

This module exports a single class called AwsCliAsset which is an s3_assets.Asset that bundles the AWS CLI v2.

Usage:

# AwsCliLayer bundles the AWS CLI in a lambda layer
from aws_cdk.asset_awscli_v2 import AwsCliAsset
import aws_cdk.aws_lambda as lambda_
import aws_cdk.aws_s3_assets as s3_assets
from aws_cdk import FileSystem

# fn: lambda.Function

awscli = AwsCliAsset(self, "AwsCliCode")
fn.add_layers(lambda_.LayerVersion(self, "AwsCliLayer",
    code=lambda_.Code.from_bucket(awscli.bucket, awscli.s3_object_key)
))

The CLI will be installed under /opt/awscli/aws.

Metadata

Release files for aws-cdk.asset-awscli-v2 2.0.198

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-cdk.asset-awscli-v2 2.0.198
File Size Uploaded Provenance Actions
aws_cdk_asset_awscli_v2-2.0.198.tar.gz 69.8 MB With provenance Details for aws_cdk_asset_awscli_v2-2.0.198.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-cdk.asset-awscli-v2 2.0.198
File Interpreter ABI Platform Actions
aws_cdk_asset_awscli_v2-2.0.198-py3-none-any.whl Python 3 none any Details for aws_cdk_asset_awscli_v2-2.0.198-py3-none-any.whl

Total release size: 139.7 MB

Release files / aws_cdk_asset_awscli_v2-2.0.198.tar.gz

Download URL aws_cdk_asset_awscli_v2-2.0.198.tar.gz
Size 69.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4f230e4238d34a8b17cab8a7fd801a7e2195f8242a1d5c42468e2d93fe72de7f
BLAKE2b-256 checksum
How to use checksums
a9e9605e590271b06b4332871b06b4e3b269983e2661c7af6ad5b79c58e36f00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Release files / aws_cdk_asset_awscli_v2-2.0.198-py3-none-any.whl

Download URL aws_cdk_asset_awscli_v2-2.0.198-py3-none-any.whl
Size 69.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5887128f28f49fddb74b59e6dbb51764f7bb5587758982cd61a13b6d1f1228e6
BLAKE2b-256 checksum
How to use checksums
e30641b4452b35c9f73217646d729056055e148958e778450a7a61c1981e0ff7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.14.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

Security for aws-cdk.asset-awscli-v2 2.0.198

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aws_cdk_asset_awscli_v2-2.0.198.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.198 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page