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.359.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51344969ae475a54112fa090fa9ec8da13c7d3781633ad747606170515e8a2b8 |
|
MD5 | c59a7164c4c4722f2969b12e1aba8c61 |
|
BLAKE2b-256 | fbec55ec7a6af29fd4a7e7d97fc4b94cc48ef4ed7f3566975465b6316a7cb416 |
Close
Hashes for cdk_lambda_layer_zip-1.0.359-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b12c34dc7de68c397310d529081691ba7b63f99a06c6b90809045c5100c7f671 |
|
MD5 | dd7a0726ace029c494f257af33bf4fd5 |
|
BLAKE2b-256 | 3fe48e7cc42b8dfc2ddf63b7902d73054fa9275d03cb3f9663a1e2ae69ce0c76 |