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.380.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0497824274087d50b32b0f93d9f4c769bcb30723ec11cbd3cea8dc47421833a3 |
|
MD5 | 190d6112ffbb1e7825d24ffbc89bd39b |
|
BLAKE2b-256 | b4061731c42c0998590b8d6e2f213983517f8a5167d242d4ad9863fa936c9f83 |
Close
Hashes for cdk_lambda_layer_zip-1.0.380-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086e95399b2abdc821c347d0fda06f3234dbe3702244047587e0eaaed7542eca |
|
MD5 | b948a8883911eb083024957d20bfc7c8 |
|
BLAKE2b-256 | 5775b4a3100af1c063cee2cc9ed89541b72a690aadff69f9c1e55f0861cbdcb7 |