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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.186.1.tar.gz
Algorithm Hash digest
SHA256 374f47a5a7799f2c8fadb89bc2a1b9435398e6a744cf11d8bb4d7368aad05d5f
MD5 6ba196ab42cc57f72777d032b4a596a7
BLAKE2b-256 5cf51f63dd088bf44d8d67617f25596449975a6d8341810646b585d84defefb8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.186.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6dfbf1b714e16a98b748d1f94474a64efc8ea08539bf923180612f4bebe719f
MD5 c683659468848f98081f3b4b7d8719c3
BLAKE2b-256 9ef4ee2718c8bb71a5bdeceff040a3cce47e00ba17dc259c6f2af7c9a76e7617

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