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.178.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d649b60a81620e374e9ca9b23cd8f9d145c2c454ea88e54e3f4a2c26db5181b |
|
MD5 | ccd58d462309129e13ce80aa36f697a2 |
|
BLAKE2b-256 | 88d049653d1cb469029770cf2f584f2eba3d7e8826e8f5c6e6713d8121aa4a14 |
Close
Hashes for cdk_lambda_layer_zip-2.0.178-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e35360fcf35ca140ee02423a35cd9e7294fc696fcdc6c07f6c03a053e6dc2c |
|
MD5 | c06dab67e1d7ef21ace6a04dbc7e8a2e |
|
BLAKE2b-256 | ca3420f61255235f5d8ef417238e7afc4033be9c6e9a59de45c0c9d720f08a71 |