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.241.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3711c7f8192b48d79c196fdd168e39d72c5749b54c8a6601a60629df5ec1ff |
|
MD5 | 596a5da1d664a3e4158827909bbf7088 |
|
BLAKE2b-256 | 4103eb819bce4c7e6845e7a8b99921d570ef51841e90bc5c99e573c6c3c8a60b |
Close
Hashes for cdk_lambda_layer_zip-2.0.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06b6a98e64d1666a5a2f235e75b4c0dd4ddec09db1525eed4934de30eb7317ce |
|
MD5 | 64fd345d23630f795ab200f19185ff17 |
|
BLAKE2b-256 | fde537ad011f57608ff5507c266eebe842d37d3eab91d96494192e7a82ab2b6f |