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.320.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7b2c0cc1d7ca9f8802644eafa44ccc04e9bc40c2f388ce3dfd438aed8468fd |
|
MD5 | 8f349bdea7758c47377ea92d04ea9d1a |
|
BLAKE2b-256 | cc55b7325fe1d3322c8cfc1c3ecf48cddffd3b9e66bf2b025881609a9f7ae1a7 |
Close
Hashes for cdk_lambda_layer_zip-1.0.320-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c59b393bd97592b6cd952c7ea91fdc661fb41d0e3987d63c479d5f608fc238e |
|
MD5 | d4e6016633c2ef653e4d4bdde81c5a47 |
|
BLAKE2b-256 | cc625b02260990351a5297de9f0bbe1acc7101b6dba5d98af9257d910f303a2c |