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.119.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cb2dff6f6085d8e9088ccfa205362ce2b88867d604478b1c06ba9c77a77023 |
|
MD5 | f45b8845a833bf2685b7d7ce21bd042b |
|
BLAKE2b-256 | 2c6b498d26dd0424d03eb253acac0f949cd113a92be4780463470f378d7ac630 |
Close
Hashes for cdk_lambda_layer_zip-2.0.119-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 903637b058e22f96378d9c338a80aad3e618a1f983294754a6e53c7ba815d2b0 |
|
MD5 | 48b906089f1200b6faf6ef3c804fd87f |
|
BLAKE2b-256 | e585c7d65990240e07069f07d2c5c7bb203e2a8d6eb2dd3d092fde5119f3ef65 |