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.201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708a36a099ddddb286b4b1a82bc4b679c85956f95a6ffa56f7896c91840381d0 |
|
MD5 | abf73892dee95d8936b023a46196ca5a |
|
BLAKE2b-256 | c846b6e613ec7727754fc6a7fdf90b7d16f555cb9950bf70eb3cf7523d409f03 |
Close
Hashes for cdk_lambda_layer_zip-1.0.201-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b170f0e08f97560f81808fc4c17b5d96430c7f0aadc3e000e84676d0e39cc0b |
|
MD5 | f713d3296ab8d0f2acfd9a1becc55708 |
|
BLAKE2b-256 | 8d478bc803fb0ef5e1efb5b2c91bc869e086e65a32c2c2653851cb963e42bf89 |