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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.160.0.tar.gz
Algorithm Hash digest
SHA256 65ae318138985cc20f0f80c9e159914efd811e2619b19d7f4382bd9dbed3f64e
MD5 dd7d8ada050b401ba99f6a5058469eb9
BLAKE2b-256 713ac14f555fb83598afb0b385fa56e493ef59b66ef4e42a1fd727d92f32e63d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.160.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7af9c8df0663ccd14fcf6f4d347dd893cb54f59db0f831a69cf9493cbff1449d
MD5 c60d8ff0e3a8cd2d009b1268c7584f08
BLAKE2b-256 04749936c3f10f5a981710f7bf9ea9d77aa117484047241b631ae051cd87eb07

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