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.153.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecb86352bf3eeb71986c66caca53814cb4febb0ef744ea0143ba2a6e115d199f |
|
MD5 | b11abee8bbfc99839754adf553b79e91 |
|
BLAKE2b-256 | b0232904a7faab1eb56053c66981963d3e6fea920a972a7a2fe7a7eeaea7f61a |
Close
Hashes for cdk_lambda_layer_zip-1.0.153-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b35e7255efd72bfbd89e009f0a15c3ce213a29517d8a54c3c5317503318b60 |
|
MD5 | 8c7c187e190d6cb1ce9f7e3e800db864 |
|
BLAKE2b-256 | 2165fab768b569c75945b7e0268d2cddcd905105d771be458a021a7d9674d6cc |