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.119.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2403ce3bee3a36f3ae387a6c2ec85ebd0f8648e3fb48587068d38f0513f0126 |
|
MD5 | 42efbf8972b3ec099f718c97eb0c6326 |
|
BLAKE2b-256 | 90d7a6c9e51b64a3651e35e04f3e21a6170a2949074f2d41fc425cb54d2600d3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.119-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f024737bb262dae04ed0683d548efbcb1015ca788d8351a1e95bf411aeca55d |
|
MD5 | d8184e179e9315315d7978d36a791ace |
|
BLAKE2b-256 | 4430f4ba04d6bfecb3890b7508940577e4f341e70804975c6775ea85ff729765 |