Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
// 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'));
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-2.0.183.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b1cef54f92ba45cbeb70e2063d4623a929059c8d0833d09e219be76c73895e |
|
MD5 | 591ad47117168cf24701d49b68aa61e3 |
|
BLAKE2b-256 | ec89daa024eb23b3033a3329f7ec45aa684e41f20547564d3237e49b8c6f939f |
Close
Hashes for cdk_lambda_layer_zip-2.0.183-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b99d2b1fb3fb254bfcdedf08ba68502456c880e74c5de3dcd24b1600150fdd3 |
|
MD5 | 9cbac7eb0945358b32094d65db5bba5f |
|
BLAKE2b-256 | bc0cd699596b1b94b292a824a38a1b94480f2f68a4cb8ddda793fb4459b37d1c |