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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.158.0.tar.gz
Algorithm Hash digest
SHA256 b1d2d21aabd4d1ebf0e8ba17c4a1ddb4c8c36ac6c2718ab9f2ea263a8f27dfe5
MD5 51a73182dc491060478752bb196a45be
BLAKE2b-256 fec98c75c5c70ce08f9f4a53fe86cad468fa59455d3bf533c82c3eb3d4d43ccb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.158.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87b5a07ecdbb5dcf43475d604a0855b37dc4df0091da4a4dabdf2db2cdc771ae
MD5 8089cb72babe4fa590e311cfd9652fd1
BLAKE2b-256 e182484f9d96ecf25dc93621f854d2cbc43ec823c9e040f04b43a60160b617be

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