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.159.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.159.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.159.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-awscli-1.159.0.tar.gz
Algorithm Hash digest
SHA256 4dbf10baaafcb2d329cc27dfe75e828e950c264bb62e21ad9fed5be647fb8b51
MD5 4ba3a5c701bf94e68861684b813c7594
BLAKE2b-256 9dc74e9fa376ad24d7c29ac4526f12205038bb127c7639cfcfadd78d0a6982a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_awscli-1.159.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b817c25af2483c337a3906d8944fc0f02ee68b6998acac10c4052af694e7e1
MD5 dfaaa2c2c9af32aa0bfc984489f994b3
BLAKE2b-256 3b5ceb4deef03d5f8d9dd0d976cfc898cd939be3d4d7bd51917dc78e16033bcb

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