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.87.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e44c1ab2d13c3ec2304e0186f3d23dfa6df25cb0005c7fe8bf93b9ca048c689 |
|
MD5 | 7a10ec9f150beb22e215150493b24aaf |
|
BLAKE2b-256 | 0182af8b7ab4231fe147bb83635eebcf0d889d612684a111f01bad6a8f710b0e |
Close
Hashes for cdk_lambda_layer_zip-1.0.87-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb25b05f2c72942ffab55159147b04ce7aae5582dac11fb54be1375d8d15ea26 |
|
MD5 | 1e8c20ec6566ef0e3bc86a20789e9fe1 |
|
BLAKE2b-256 | 244d25e2690fc638a5aef0b4bedc09f0e976c36042a895695740c8984da84b36 |