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.349.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9fe25c7b0ede91a680a9c2d21bad19360d615215b1a97dbe3774b19619b335f |
|
MD5 | b612ec14a7f4ecbe6c310b89248c4e22 |
|
BLAKE2b-256 | a3372d21316b0a3774c2b373ce0fc5f82193a98fa3d9801fdcc038a5a6339f50 |
Close
Hashes for cdk_lambda_layer_zip-1.0.349-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64cdefc5ae753e949274875e512c1bd981103af555f85500633336773f45f80 |
|
MD5 | 7fbd5623a13df896e2a02a0b0e737b16 |
|
BLAKE2b-256 | 263bd98daf160b4c17e5a1f0c76d114f9f4535e35afe94a3fc97d4c86537441c |