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.253.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64ff6488c4caf506ef3a2a1054bb48c3711b632461f9167bc7258e37725613e7 |
|
MD5 | aed2f698855d4318aa2ad71759d6b479 |
|
BLAKE2b-256 | 2de1480808986b2d4f22994e5fab59c25dcda2844a86498e285a8f66d3b618dc |
Close
Hashes for cdk_lambda_layer_zip-1.0.253-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b732da345c96cc91ec0fb3d942d4d99fceb55ca928358403a095227db198ae80 |
|
MD5 | 5358217a3aea9f7d396ca9cb37a5c3c9 |
|
BLAKE2b-256 | d842cdd4d5982435880e4f0fc0ccf425c3d213ae5f69eab06329008f61c9b178 |