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.151.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b30fed35c658bd162850adba7f3368c011ad778775bdf374f678cf2351ec4ae |
|
MD5 | b95c69d849caf89e35db598749e46afc |
|
BLAKE2b-256 | ee1e882a98de7b1bf27b7c33bc71437d8444c19e85004171457cecfcc3b197d6 |
Close
Hashes for cdk_lambda_layer_zip-2.0.151-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 264318f8ca0360f45d89a385ffd3388f155406f7f73e7b43cd2e6a7a5d80f12d |
|
MD5 | 5479264c670b1ab35deb292c3e23911c |
|
BLAKE2b-256 | f3078b574a1b9721592a8d93b36c4bc0ebe51221aeae61b81987487ec5b9a414 |