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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.162.0.tar.gz
Algorithm Hash digest
SHA256 1969a33e7158a846b3acfb13edd6961d67e8323eca9bdb4380597d1328b13a9d
MD5 805e74195a5ea22db0392a0a44b14c33
BLAKE2b-256 21135c261189817fd094522a559522ab9ef0ecfcc9e69315d89beac37a1cad1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.162.0-py3-none-any.whl
Algorithm Hash digest
SHA256 526cf621d5f113a21b3e78d11b0a809d7e5f67467c5c4e86701ebd972ebc9ea4
MD5 9b90132a7f65be48caeee5703efea14d
BLAKE2b-256 64bb2750659d96b5930ddd0ea06d8e8dbd004753d3111d482c1b078812a8d366

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