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-1.0.208.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cdd4ee3e43ca9b50acb9f1d3a4f338c7f5e8e33023a1a7dcc2a9cdeacd6b843 |
|
MD5 | 853bae681bc3bbefc4667299eff1ac07 |
|
BLAKE2b-256 | ce83b599e589a330940e674e7a1d96131e5daab79d033039ff9cf5e34cf276d9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.208-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4bc4ff2ba36c9f01d3e15e0201fc318254cc959d49724e488a323faf54038fd |
|
MD5 | ca8c2f02e19af92c1b72401050855dbe |
|
BLAKE2b-256 | cec7ee118d462d390acdb9e168e338d2625bb1ae57f22d30d896afbffb667d3d |