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.191.0.tar.gz (14.5 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.191.0-py3-none-any.whl (14.5 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.191.0.tar.gz
Algorithm Hash digest
SHA256 f11dbdb7a91744fb3723424401b7f54c1e92e16d2bc935243dd49b58f2806c81
MD5 2fe135e03457459336e4d7afdd6fd9ce
BLAKE2b-256 867e659286f7e09b321ade04255ba49add2202bc09e8f3d9cdf4bcf44f3141a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.191.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65d5e73d825535def648a9484c5b244896cb6e49966bcb775faf2eb01a222d42
MD5 1d65eedc2c3ea3059a054b0315038d68
BLAKE2b-256 74fb5288e4d922f1b2c46d5862954d29781b7b547b82dbf29ae67cb86260727c

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