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.262.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50a5c7611422810c9cb3a5fa7db3bae9cabdea4039cad8d8fa95a9d238cf7834 |
|
MD5 | 409447f2f8cec5786fde4cb376c2e583 |
|
BLAKE2b-256 | 063d9352f6b9742632fb2c08e57024ac23b6a19275b8fbe4459b9b77d8ebbce9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.262-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c65a52daec12e4deeedfdd89850f34979c16062b1eb5e1499cc8015b38997c8 |
|
MD5 | 42c8956d8b1036b20f4de866bd28896a |
|
BLAKE2b-256 | 30430b59f045456c2dd9bd99baa1724c7483bad50339fde2ab5227b364210725 |