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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.196.0.tar.gz
Algorithm Hash digest
SHA256 0f4f4a33d9000e0d511cb6f36bec2331e27502125efd2f29abcd4f4767a065de
MD5 f814a6c7c9c961cbee941c5a5af0f814
BLAKE2b-256 ce8af9ad5899fc88d720d362f5dfb5f13f686ca18bc2a93a6c493f709d03db8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.196.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04985789121bed531cbc6b22662e3a16485da6bdea31dae7be24211233788bed
MD5 b5f80446ed5414f59cb585b08ccf49fe
BLAKE2b-256 ca5b20bd3cf1ade2a1bc0d4c33ec311b41c83d2081477606b479a7c320ae94d4

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