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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.203.0.tar.gz
Algorithm Hash digest
SHA256 0f62bbd80acefaa27a4e03f40e5dfec39254a4b9ad134936d2bad0d2b7c29d5c
MD5 54c520b8b9883fbf3bad36a6f0a6bcb6
BLAKE2b-256 5b8ea7402ceb7a80f4c56023699a2f4d7b0bd7f6a43956d0d1cdaf9ae3ec83c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.203.0-py3-none-any.whl
Algorithm Hash digest
SHA256 322f671f121b1c26d19c65dd9bc6af490c4149a06dcd4bd4abee55bc28fc9916
MD5 5c1df3d408f9f949d3829478d7dcc473
BLAKE2b-256 57733294b6b57d9db705f849b4ca904a4c5378db9ea44eec955ec2947a7fb0fd

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