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.91.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1fd47863737b02d00d2faba43382aa6507afcc9e73bb18854e325f65151885b |
|
MD5 | 03842b5d354bcb26920c5a6c3c64d3ad |
|
BLAKE2b-256 | 3ddfd778c5fbc52f8b92fb6a2ba0591825064588e255e9af1df437f8055e957e |
Close
Hashes for cdk_lambda_layer_zip-2.0.91-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d899549226ac327b0e64448a7e3c04b9acd18e4eef375f0f8bd361a4419a13c0 |
|
MD5 | eb29e33e4cf1eacc4539a82ac0643b0a |
|
BLAKE2b-256 | 1b0b1ffaaf85c0d713b2274519681dd90e88eab0b7f8d751babe7f280f68bdc1 |