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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.179.0.tar.gz
Algorithm Hash digest
SHA256 8345f1c71b0a366378ed5a1bfc57e3b7f09ed933850bb3eb18bcd8527c5d98bc
MD5 0691ddc05ea1e702bd1dbaf8c9ee85cc
BLAKE2b-256 0eeaddc891c980db93dcd5501a4730ce1ba5810eff1c755a734f23ef707668c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.179.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25c66ea3eb4832119b7774b4b64eaadc0b80e280d03e42ee4bbfda63493f20dd
MD5 f4b072f972ed427b2d7c0c20c7812e4a
BLAKE2b-256 85699e762fa1ac60ddb06d91551607dff8618ad0854ab11d74e93e83dbe5e341

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