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.21.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e55ddf50738dfe6904e3fa8d4480244de0b0f48d56448d0dd3583d642987d471 |
|
MD5 | 1de7cc249e38702ba178eeb00a2ce137 |
|
BLAKE2b-256 | 703cca1a90b2cfc1d1ef9b61485740d229aa0fc3665505aa59e2310f96e70a95 |
Close
Hashes for cdk_lambda_layer_zip-2.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6505a0a05daa0f3f74817d7e28eec81d430e2279c72882472f2cb344f25662f2 |
|
MD5 | 95748e3e72a03504cb0050d524e77872 |
|
BLAKE2b-256 | d633199afd5c631161aa0c1df83e5904304c0995bb4a434e22cf4ed5dbb70872 |