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.375.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba7038bcfa5f986d834400ac43d5d29d53826d43e2cc26dc43bda1433e06419c |
|
MD5 | a06f10a4e02394df5b4b3f96b01a0461 |
|
BLAKE2b-256 | ce5d0f44cd8e3e73ad47e37d2a3517630375c69e711355a121c71c5d584de86c |
Close
Hashes for cdk_lambda_layer_zip-1.0.375-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37d853f626dd0c088c205b42ea63fa1abaa3ce44948f5307d4234822b576d47d |
|
MD5 | d88c5d0366fc19064c2e11827725e579 |
|
BLAKE2b-256 | a438ce61be1529b37a2d3a06a401fee4b3925874fbf88d01bd23589d97e4ca00 |