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.214.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b41a0e2a5d4fece2339bdc5f880a0e8eb2820ff149c585e9a5c1c669064477a0 |
|
MD5 | b730de2e3ec06b3f2f2c16589cdc8953 |
|
BLAKE2b-256 | b7d699d14d4330f7665e4c6e4ba20e78c86555b76977ee339a45aa07819ba418 |
Close
Hashes for cdk_lambda_layer_zip-2.0.214-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9405fad31ccf6538ce2a7c984b375e8a1d72e6d96b65817d10780e242fe579fe |
|
MD5 | 5777b061efd0dd9e5861e0d3f7a8e057 |
|
BLAKE2b-256 | 5a7b3e5f6e281b5fd650210700e0bdbbcbb16a6619722d52a77add233bc757d1 |