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.222.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8711c824a64a1aeb69f0c8d9ef42d58247744f3e702a8bbfbc96256371dd021e |
|
MD5 | 8a32f509e76ec9d66417b02ed3984327 |
|
BLAKE2b-256 | 6c24795d1d72e0d73ad8e55f719d9fc9e49796237c0271fedbf125abb001b66d |
Close
Hashes for cdk_lambda_layer_zip-2.0.222-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d812b3ba9a2ae1e7a4b6c6474b422653066eb0c395abc79d6d009447b5269124 |
|
MD5 | 66555870fffe82c649f1efb2642860b6 |
|
BLAKE2b-256 | 408f4440bfa07bf5452abe66fe4650b755055075d0ab1aeb3a47bd75ca4be12f |