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.143.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9957a8915cf955ed361e0571d2bff050879eaedf2d0788c02e9b09c6c52a8e0a |
|
MD5 | eb75a234f713183e7053f917e792833f |
|
BLAKE2b-256 | ed61ad6b3c719d5b181bc6d3f184ce8c21662f267ddf5ae81d5e462bb259a122 |
Close
Hashes for cdk_lambda_layer_zip-1.0.143-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d773c4c7f327fa079d7e0de56b450d3b9c66e384f4aca5d5df646f0e938b5f |
|
MD5 | 9c4c482312fdfe1fcfa84c1e01ac2d81 |
|
BLAKE2b-256 | c577ccd96f5b18f54ec1ea595e0cfba8f7c9c9fe01ec7cb83740286ec2390696 |