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.83.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d366af9cb8f13ab79ed4a1e075310ad17d9606a36b371218daa835f995a85603 |
|
MD5 | e60997bf5bbf4a3c31aaa9b6f6127bdb |
|
BLAKE2b-256 | fac85488b816634c15a19423d7e3d10f091460dd66748a50bbbd8461a62ec577 |
Close
Hashes for cdk_lambda_layer_zip-2.0.83-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b6211375e1b159a45d61c3e5cd9c63a9756d7fbd55f9df692611a2b1359a4e |
|
MD5 | 806ce03b72abb47d964090725a92f012 |
|
BLAKE2b-256 | d0b6494117b913c4cf515dfb50185c59bd45d751b89cb1ed134e835ba6edbd8e |