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.199.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a4e66980ee138909657b60835b14827e554ba3d07250a8cb76e803f133fb53e |
|
MD5 | acb36e61d0c6c2379afaecd92b309216 |
|
BLAKE2b-256 | a0ffe8c39d96c357675fc4c9641603d53cc5a0e4485761ec7401e84bd2f542bc |
Close
Hashes for cdk_lambda_layer_zip-1.0.199-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3584068ed849bad8531d1b8148ac00f72f5b60f5add8c7c927c7764767d44f |
|
MD5 | 39592043dcfec863a59d7007de5bb888 |
|
BLAKE2b-256 | 16c610e32440c064da8d6a2949a979157c33c2c84e978096f389ab81da964c2b |