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.256.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb3c09a0ae560155eea14c8cfc1ca3408eeae82c25d7e4cc8b8a5513b0c81dca |
|
MD5 | a3e42893ff8830bd72fa9e81c1f7559a |
|
BLAKE2b-256 | 00735417fc4c38a97095fd96a10342bead57e3b6fcee415abefa1d369615cf42 |
Close
Hashes for cdk_lambda_layer_zip-1.0.256-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f3487b372c2cf80ea4ea5bae14dd57380a417a3241df76e8eb40f7dc95baa04 |
|
MD5 | 20ce7b8f0d71905ebdce807300a25638 |
|
BLAKE2b-256 | 5cf591ad8835dde469992c400c0e9d352e7bdf075b81bafeeb3974a8c0a84135 |