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.86.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 621854b59c68900d04f8eeec292648a5ed08f510f80555539d029d81d639c88e |
|
MD5 | f8c11af4722498de82e171560282a419 |
|
BLAKE2b-256 | 95538676deb7e5df5b39abbba43e9f1262e9f1e9b7ca9d1141199faaa4c4496e |
Close
Hashes for cdk_lambda_layer_zip-1.0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22878f62af4d04beee1651aebc1a955bf9a3fbcfbf0ef135fa339a231bbce7ff |
|
MD5 | 4ef61fd0875678cb1a535af7a8f98e0b |
|
BLAKE2b-256 | dadc4b6645242cbeba56f7fb16d888b53bc3ede71a9e022b2fe1b6ccf50d5718 |