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.69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b18cb966f29aab40859c9a19a0d0a7b208ae0189e44616d4702f6d088e9b1e8 |
|
MD5 | 01b96b3e6c28dc86356e6c52286289ef |
|
BLAKE2b-256 | 77ad306c867e58a52a6b944c5941097e178974bf3d0293c41ff1198da9cdb9e7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd851775e3ea726f2b7f1ed264e54164732a967bc6f6619a277ac763a74b6c3e |
|
MD5 | 529f540fb3ef8155c74c01dbefe5d6e3 |
|
BLAKE2b-256 | 193edc9c04c30eb01f507e7e88b98eafb2a4c5a9e61babd6777d12458bc442d4 |