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.165.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.165.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.165.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.165.0.tar.gz
Algorithm Hash digest
SHA256 a29b75e6ebb75f1bc958e75cce6b803e2f96516a95d13092c1b41a29841a4ace
MD5 3c500e26401b904b327f21f2ca24dcb4
BLAKE2b-256 3e938f7f9b90268f8d4391a5a5cbf709619d4c782eded2f23bd0626b42b31626

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.165.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b5b01ed820faa6e82e238cdf299a2a004be70cb9d79420efba4e9eeac9683ba
MD5 aaa33a293b367187fff9d8703a4b7185
BLAKE2b-256 19d01477df753374e99ba96763b1fe571eff3a845f56dfc6cf70b104b684703c

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