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.275.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f063b0e653ab6860fad8c006f9dc4928282594ad74086257301399ce165bba5 |
|
MD5 | 9e8cdfa06e99f74ac8b0f6e21347dcfd |
|
BLAKE2b-256 | abadb4215d52e407c8f5a06b0f5454cc731525a04118ebb7c5627ef29b3fa3b0 |
Close
Hashes for cdk_lambda_layer_zip-1.0.275-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d33e44e73f00ca30559914079bc075ee8d982360eed177b56120021c885c13b |
|
MD5 | 0a73b5a6328d774231c9c6b5cce51fb9 |
|
BLAKE2b-256 | e255c588278a7694a898dbeabdb0f2c32b87b2159440738a301396d6e20086f2 |