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.275.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f37d8367d3c4d17b081b5386c1ae85b5ae4bb29f602b137ef60d5c523cbefed |
|
MD5 | 67a973f7a92805495de50c9db5875e87 |
|
BLAKE2b-256 | 4e52e9c65a880d93fa61f13d91bb8a3eb1b7a8d3cb08cbbf51ae806b755c16a6 |
Close
Hashes for cdk_lambda_layer_zip-2.0.275-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2a60d30e9db8c7134211dc59a9634aa68c8ee88eaa6cafd361d16ac82f76892 |
|
MD5 | b68b369bc5de4ba1494bc1560fb5bd21 |
|
BLAKE2b-256 | f5669e42358a29d207a396fb1a871218f00c1e47d3bd8350fe1ece6bbf10aa96 |