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.150.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7491e5824eb51642aa6dc843368fd91d1a21d73a63284c9fb9573ffa4c4ec0b2 |
|
MD5 | 3701199cbe778f14a241adea019bca9e |
|
BLAKE2b-256 | c3d808706033f30404cc71af209056a3dcbedd52a25c26cd1a6a52276c584af1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.150-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8b3fe36ad74c1dcf9690ae18a386cecee3fa6730b04f168f37e7383c8fb1a90 |
|
MD5 | 3ed59035504e7fd93fd9e3c2403ae26c |
|
BLAKE2b-256 | 71bc4cf6544129eff051f8de2f2ea558b9289802b802afd8b5fd9d0ffde5a9bd |