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.357.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69c1db5b227a2d825ec29a87e9662d265e3586cacb01137f4280c8840b74d050 |
|
MD5 | d9cd63291da410bf58889ecee7080106 |
|
BLAKE2b-256 | 6297e81e8f685d3a93fbaf192b72a31736286d702101637a95a6e2681485deaa |
Close
Hashes for cdk_lambda_layer_zip-1.0.357-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67ff8774b40df54676d08d599a8c52919967f13fd7334796d1bf77f016d0a31 |
|
MD5 | 49e9625dfe874d60103c3daf09e656df |
|
BLAKE2b-256 | 98a85b590c38fda2c36c316c66bd232f67770edb1f43db24ef10a997817e709b |