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.343.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e9a0c5cd9a54bf3d1ef92781d338fd63a780edcf7fadf90e010a802e246613 |
|
MD5 | c31d8afacebc4e126f50cd3857552794 |
|
BLAKE2b-256 | 4afae9d5fbeca978ff2ebf409d57e931108eaf10c168006787dc4a8e2b084ad3 |
Close
Hashes for cdk_lambda_layer_zip-2.0.343-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe818faf1e1485c8adfda1704b04ab7c4b733d81ad700376f2f59187f3b15d4d |
|
MD5 | 3af2013c8599403c3880795d59fe509f |
|
BLAKE2b-256 | 4f9a79672b9f4efacecbfd36a1e461f77211879557acc4c82610ce9d0a3d3b32 |