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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.172.0.tar.gz
Algorithm Hash digest
SHA256 fd3bf560f88e16f4624fa7cc8ed9ad3d04aa465e827e8978a690405bd804f554
MD5 debd6204e28829ef9f35e58de2532cf1
BLAKE2b-256 ce72b35699abf4b5f775f7d99e6eb7d39176dc4135f66b9b0bda4585be58de1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.172.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63ec37db7d33b50f628a8526a3dcbf2a15499f1b9a5299aa34b0051857625dc9
MD5 8979762adbbac9bf6760e479abf08f89
BLAKE2b-256 3b7d1114cd9fb3964a29f351da1dafffa41bc13e23164dfa817a189dabd1812e

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