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.312.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccd10ab1023ef3a3f8e3918871ae22d78b0e3f4cbe4267925a90f513137c90e |
|
MD5 | f0f7170d1b073b468b29533ff614ba15 |
|
BLAKE2b-256 | 0eaf5d728a5786ae25544945c69474e7da846d6c40a2215e1fe38bd9cab1bf1b |
Close
Hashes for cdk_lambda_layer_zip-2.0.312-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e42ab04e592a5ef313c00d467a0eaef175d2ac5ed20c645845e9915dbde4b6dc |
|
MD5 | 85cbbc4eadc978a5f89a45d67c6b9432 |
|
BLAKE2b-256 | bb435facaacf11f1c80dd5e6b464747716fc27fd510c88a9df7ba9a1c04e2aa8 |