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.219.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2006478b1a64f7ca316a92ad632431d0d3d04f2f7b724a4d4645aa368ad5fe6b |
|
MD5 | 8bbc87d77603a9dc74facc059f817e87 |
|
BLAKE2b-256 | f0a2ebc6b4f7855f4de0f35410c5401526aae6b29bc5a5f0c54369948a7333fe |
Close
Hashes for cdk_lambda_layer_zip-2.0.219-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c07e26a6b5e060d95c740228d7e6ee85a1d4b6d545af445c244d4f19ba8d91 |
|
MD5 | 4f7636568aafbd03d0f3f88967543fb4 |
|
BLAKE2b-256 | c0224370c541e21cfa870420fb05dda3f1788956e61ad909900eaeb391d734eb |