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.163.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.163.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.163.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.163.0.tar.gz
Algorithm Hash digest
SHA256 4b401fa4b2722177405957928bb5557e970ecece3ca9fb8e1606be7b005364fa
MD5 2e51d64acd4eaa7a1a953ca7e3381f81
BLAKE2b-256 85cc6e3dd82605c2e3167c3b09abb6042292c655442b3c4bb020f5d99d3f9e46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.163.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d60684b3a0bebcbfc15c59c7c3cf9bb678306b8dad1b3ecfff3189b1e478b2b3
MD5 328341f5bbb25e1269dc7406557b4c47
BLAKE2b-256 c97c6a71da380a2aba80515a44bb15a7b111aebc7c3be0f96df408bca40179de

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