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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.181.0.tar.gz
Algorithm Hash digest
SHA256 84c7c8dfdcffab96a75f565d925c457e15eb820650f396c14198cb63e9f26419
MD5 d6e3c5526ab9f305f39bd296c0801f11
BLAKE2b-256 3e258e635c588c15a6661d0a4e93cd81c26519302dab8f28b4ad7ff6852a9484

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.181.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fd34ca2484646766d4e620415431e84e272a4324b30e8f0922083e754487d0d
MD5 6774dd3c5f1685f7e4ce70cf107bb755
BLAKE2b-256 0f63a6f589f540603975409c836498529fde98d30eb06289efede5aaad1c971d

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