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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.183.0.tar.gz
Algorithm Hash digest
SHA256 277b96131901af4bedc762cb7d35aabb16e3a0fa51f8f4837cb9189c3c35b0f9
MD5 8d0b3335d131c9740a02abea2a52a5e4
BLAKE2b-256 6a806dc724d9bb1164cf48467f9a27e7982fcc849e9bf1259d9a20bc71257d44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.183.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1df0a6da8077353bf9e41c455a0846958028157f402c0434b2d908c5a429049c
MD5 34f36ba2a3ee04b134b8f11ce9ac42d1
BLAKE2b-256 a19f43794611f5f5ff6c53982b7253318a6ab2b541aca26f721932b9924d1c86

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