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.294.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5bb5ba41001f3bb7839d91a0d1d4ac0ed696421f9bfb1f2a96e1c86732eefdb |
|
MD5 | 352a900383b9a0da136e888d7da064ad |
|
BLAKE2b-256 | 7aec8ee99d4a142e0b66b44503d0f677c59f4e9265920ae252f3b009b1ac45a7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.294-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d515f46c9bfcfe78f6809b8d024dbaf9f6123cabbeef7a7ad235fef847a8ec2 |
|
MD5 | c0c592b9104844e72b9c59bc9e68828c |
|
BLAKE2b-256 | 9bd1c99112e2110b2547ff031677f814ab46e7120e5d30d4a3f9831d05e67a30 |