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.301.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1b2a8e29ef661e7e4f9d8bdbb44bd721cbfe84afebc89c2fcaeafda47d9b23f |
|
MD5 | 96d391cfc0b54c8fdf22673d5c82367a |
|
BLAKE2b-256 | 8cad34ffe547ad7a6513eccb104c832ff8ce0a951fb1166745c60e1a5eb109a7 |
Close
Hashes for cdk_lambda_layer_zip-2.0.301-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129a8c4599afff0104108ce0a2bce9560959ff6cfd30eada1eb88be5189bd38d |
|
MD5 | 4a87048237c38ba042a7202d8096b7f2 |
|
BLAKE2b-256 | af0944e0b968d784c6afb35d38a192022196f226789889303f2708e65f3e9789 |