cdk-lambda-layer-zip
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// ZipLayer bundles the tar gzip 7z in a lambda layer
import { ZipLayer } from 'cdk-lambda-layer-zip';
declare const fn: lambda.Function;
fn.addLayers(new ZipLayer(this, 'ZipLayer'));
# Example automatically generated from non-compiling source. May contain errors.
import { ZipLayer } from 'cdk-lambda-layer-zip'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new ZipLayer(this, 'ZipLayer')]
});
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 cdk-lambda-layer-zip-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd5379147aeba413e2bf36698ba003e5f558bf9737953e40ab2beeb01d166bc9 |
|
MD5 | a5eee7a063f26edf6e3516c1791dfd57 |
|
BLAKE2b-256 | 68a3a4edd85b6c06baab4cd2f3124d4f6ccf3a1142be6ad40ade5148012b8382 |
Close
Hashes for cdk_lambda_layer_zip-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640aabde498cbb35115e9884f9336f9aad25690c818c36585130d7e487aed76e |
|
MD5 | 1c19faaf95943cecd7cdaa5daf493bb0 |
|
BLAKE2b-256 | 2674ba909aaf0904a3d098676edd062ef4d77154a18ad3bb6e22db1f560d3149 |