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.376.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4af3f577e61281f66df71305c7bb53cc5b810b05122045fb939180357238e4c9 |
|
MD5 | 4ede3ace0e6300c50db3215e75b05b2e |
|
BLAKE2b-256 | 96118656e720ce057b8fa01ba90faa68f5d9be2ab71929de5babb77a24c91a28 |
Close
Hashes for cdk_lambda_layer_zip-1.0.376-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e3683076be42a8192c6d31ed5fb5423a8c398cf20d350f53557cece63aa327 |
|
MD5 | e8d4b890aaf1ddabec17d9bcaf8a1c3e |
|
BLAKE2b-256 | ea4a00899b2f4ea3032608e60a119b6d53b6c0289f35a8dbe37448616622ac99 |