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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.184.0.tar.gz
Algorithm Hash digest
SHA256 5392957e6a03ad0ee82c888bd27ed2cc2faf440cfa60f40af58b8413c22388b2
MD5 7da6c6d90cfb54bab379600a12fa89c3
BLAKE2b-256 10ec70f3aa1913eeff946512b52bf9a7a2b3f50d8fb45cf8bde35492805d1333

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.184.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa1e5d948404d22d9eb409f0181f2bac2bb632fd7e251d9116bc3925c62e113f
MD5 f7b99721b860e6b53651417bfb22162a
BLAKE2b-256 a4b1e57a2a59d6fba00de6ccc2796a0931062fa4f004d375a4299ca17c18a22e

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