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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.188.0.tar.gz
Algorithm Hash digest
SHA256 080ffc3970fe57ff4a88e20e7fd4abb02b502f0666f69c5236ea7505ede65b01
MD5 bf0dab4592254104d250cc9ce9debf93
BLAKE2b-256 6cbeaf4caf63881ab6a17f2f4fd7f669c7030571fb8c75b9e1de15b9c525adc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.188.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2cb8c7ba862cc9fd052950089da8832c84c1c27b2374c217e5bb28afafe6f09
MD5 4bbeb2021d63680f6505121222022695
BLAKE2b-256 0615c8fba8b08232dec941c4c827a80f1577378626d62bd48c7c237342daad3e

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