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.187.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.187.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.187.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.187.0.tar.gz
Algorithm Hash digest
SHA256 4d515dcde664b5fb7fa4a7f458501be5baa1307af21e962e28864b7b7b2f318b
MD5 41601d094f68e8ab0df98801b33a9363
BLAKE2b-256 c81045605ffe2df37885ddd27c219070e289f15205852ec108e7b54ac3fd46ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.187.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce7bbb84c9e2034ed2177d55a915bb4616970dc54183b9395ebcd4a536734da7
MD5 63c68ac3afba13bc61f1b11b8520bf4c
BLAKE2b-256 0aac45b6e11acb7144018f5096c4a70adf7682d5ef8c1bc36d48c2e4ea27541b

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