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-2.0.172.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cc7d4dc59317011ff202d43b65f452e1cc99e01b3b94a8d5cd8dbe4dec0501a |
|
MD5 | 2674e99d8a30e2e58ac746fb9d7b317c |
|
BLAKE2b-256 | 179785a229c1a9f319e081234d72e420c0f98cd708ef92769183e3c2a7004144 |
Close
Hashes for cdk_lambda_layer_zip-2.0.172-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f649525348174b0b293c4cbc3ce93d138218608af0e1c1acbd85d56974c79fb |
|
MD5 | 1f3e0d40b264fa971ea6ae0049b6af9d |
|
BLAKE2b-256 | 7c40d971e3a56e75937a0d2f42f75f75e919e99cafb84222fa54adee4b115939 |