An AWS Lambda layer that contains the AWS CLI
Project description
AWS Lambda Layer with AWS CLI
---AWS CDK v1 has reached End-of-Support on 2023-06-01. This package is no longer being updated, and users should migrate to AWS CDK v2.
For more information on how to migrate, see the Migrating to AWS CDK v2 guide.
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
Built Distribution
Close
Hashes for aws-cdk.lambda-layer-awscli-1.204.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7f2f65e2e0caef0cbf1e19e2c20f67fc017d8ea4ade01ea3c8e8550a8c5a5ac |
|
MD5 | 7f1cf9b72c62c330925f39c304342c2e |
|
BLAKE2b-256 | 63e27a77ff2f9ac09d9e0ab01374bbb8452e35aca7ff839146c5d0f638dc83b3 |
Close
Hashes for aws_cdk.lambda_layer_awscli-1.204.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e4b877754bede2dd97f69e52cd1a6cb1ec8d7071511c598baa1e2f380948432 |
|
MD5 | e134baa74e702a77d679aa958b7d5951 |
|
BLAKE2b-256 | 225d5454c48cdbffb12007d902d34ab1d5237fe4211d943a818a2418ad902b49 |