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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.194.0.tar.gz
Algorithm Hash digest
SHA256 602d07cb9bfb70a960e0da1769710e0bd5894e98fb899cceed38e866b76a0482
MD5 cf45408e269b38dbb4ec9863ac03b7d7
BLAKE2b-256 5b35d5b64bf94c074719e97d96b11a2d992ea25b19343b6c63e0a9f4436b515a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.194.0-py3-none-any.whl
Algorithm Hash digest
SHA256 896ea145a2f817574fa48d2eea9c0d2cf5fcd70e01ce1bf32eef2bf965273dd1
MD5 a344c8d55c1717281d244c3dd748ef2d
BLAKE2b-256 02e0b8477af448fd87877f4be9627c8ccd368d385fbd3508382cfc7b84a4d173

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