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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950753134800e7ac76de81b8b231b16b69d4ae2b781099e4fbd549d3cd966329 |
|
MD5 | dcce80e38d4aac82f12c428c858dc0a1 |
|
BLAKE2b-256 | 07c500a51f6d31397cf4c8a2d3654ca6feb94f3c1de229c6081f1744dadc2d23 |
Close
Hashes for cdk_lambda_layer_zip-2.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1c8e6a1680dfbe54724a39b00b652edd3221e7ae2306206186a3c5e612da0b1 |
|
MD5 | b3e9c7cf3c541a8afc19ce404f1680b6 |
|
BLAKE2b-256 | f064395178e4b397af5265057d806edd1298cf240647dda49970f53e37d088f8 |