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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.201.0.tar.gz
Algorithm Hash digest
SHA256 6abf63abbbe47eca1e34419f23d0f543cb75220ec9cd10cc7370c2de2139d7d6
MD5 8046d4f2766f011f0d9a12b2b22eae0b
BLAKE2b-256 57d812669328017abfd4120a2c58c9be9d8f1d4684c8ba3130123e93b57a7817

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.201.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f868dca402c62667032e6e6e1c31cf4762784c93a18a6d4291d7308f6e600d9e
MD5 a229b3300c4f86d256ca016ce01899b1
BLAKE2b-256 e5bbda633f030d77267e842fb660d5c2fcb59934f292c7415f0565f67974dc71

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