Skip to main content

An AWS Lambda layer that contains the AWS CLI

Project description

AWS Lambda Layer with AWS CLI

---

cdk-constructs: Stable


This module exports a single class called AwsCliLayer which is a lambda.Layer that bundles the AWS CLI.

Any Lambda Function that uses this layer must use a Python 3.x runtime.

Usage:

# AwsCliLayer bundles the AWS CLI in a lambda layer
from aws_cdk.lambda_layer_awscli import AwsCliLayer

# fn: lambda.Function

fn.add_layers(AwsCliLayer(self, "AwsCliLayer"))

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-cdk.lambda-layer-awscli-1.198.1.tar.gz (14.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_cdk.lambda_layer_awscli-1.198.1-py3-none-any.whl (14.7 MB view details)

Uploaded Python 3

File details

Details for the file aws-cdk.lambda-layer-awscli-1.198.1.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.198.1.tar.gz
Algorithm Hash digest
SHA256 b53531682ff39c7bdcb39fa9c4367d57eb9ac5f0209fd2e90f5de5d2b7fa1c85
MD5 c5fa44779e14e18f872861d17d59c18a
BLAKE2b-256 11b07ab23ed006aafc42f350707d2f507c78909041f66686e587cc65db3b4f71

See more details on using hashes here.

File details

Details for the file aws_cdk.lambda_layer_awscli-1.198.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.198.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09790e6f653154083d31fc376e09873c24176a2b4364e2e00db2771da4a368cf
MD5 5b30370d489155f2687449ccb7433312
BLAKE2b-256 f70035d757572a5cb2b7039e3893e27bec7c3e1d108b56124b03bb2d4ccab785

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page