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.261.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291b0330317fe2b2a79454ac40dc259ba572c87022b372b4d065af70a6b72a7d |
|
MD5 | 8989b13f3ceaebfe5ab509322a1c0c25 |
|
BLAKE2b-256 | daa402d51ba068cf2328baf0efe5a14caffcdfae7dd4c7ea8f5617448839a6f8 |
Close
Hashes for cdk_lambda_layer_zip-1.0.261-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8c303d702c9991cb99377c3f92af7e1b0c45bea4cb526d40cf2800eec1ec1d |
|
MD5 | 4d5a31c285cc8ca5b79362b3c087f6cc |
|
BLAKE2b-256 | 5598eb3e412a0b56c226391750f4ce4c28e6f82dc62f7b89a51359672393296f |