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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.195.0.tar.gz
Algorithm Hash digest
SHA256 dbe1409a404fbc1b566c92a6a5f10935d94ff9d2bb019ffafaec8c29353730d8
MD5 c5977f019f32769651f99be2ff9ac085
BLAKE2b-256 f37261b8b1ecab5450a68768a9fe985bcd37048c7c20c0247c6bb745330a973c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.195.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46fc2a47d1e59e991ff6a5b46b6f5a08f54d7e0154b725c3af884505b057806a
MD5 308dd35392f5abe73dba3a277cb1f448
BLAKE2b-256 04f8f33fc681a855de94461a92f546340459581383eb9575ef3b716cde180360

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