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.66.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c6a231e2afece0745fcca8e9389d829bef873f33e443a467a5da32a779fb7ce |
|
MD5 | 1ca3ec6897e3370e16d8a885c4b12fb8 |
|
BLAKE2b-256 | 1df17e34cd9509b25c485b80054660ecb765903904b7fa4bbae3045f38cd376e |
Close
Hashes for cdk_lambda_layer_zip-2.0.66-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36f85081a0329adbbc84358cc9ff8e476df74f1606e4614ea919ff95b3bd9c3c |
|
MD5 | b683f04b6d409bd5003ff239fe910703 |
|
BLAKE2b-256 | 36157b878290f75dff1e6720cbe8bd19e8022a56b76017b2eb7a0cfacda60bd9 |