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.155.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a476b149a4d780392e0f0a73ab5623f6a151e4d1226466176071b16441e21419 |
|
MD5 | 92e7ddaa002443837070f8568dd40bb7 |
|
BLAKE2b-256 | f5eaabcc985a547b8603562d23da0d284e9eaf84d52fc0847da3e8a226d84c6c |
Close
Hashes for cdk_lambda_layer_zip-1.0.155-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7084859dcd5dd10e4664f1c54f88a93ab6987729bf361678ac99cd03e8d5ac0d |
|
MD5 | 41708adcb46e442e70fd3dcbb046fd3f |
|
BLAKE2b-256 | ad1bae648a477bd8c319827b08ffd27214473fc1a24ee49a2a31adfde396b2d1 |