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.205.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9c86096e8c6cfaea5e2416512614cf301191e1d743ce4b87e70dbe8202627e3 |
|
MD5 | 6ad18bc0eec3e896593c3f1d63ca17e2 |
|
BLAKE2b-256 | 9d3d7bc363150915cafd5eae3478656accd86de8996c61c511cfff0bce76cf4d |
Close
Hashes for cdk_lambda_layer_zip-1.0.205-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a684e4a8f7e2a0004395eead0809f111843f037806cc474bc4870a0ed000afc |
|
MD5 | 8a2e92ff5d7c3a0f3524c1588b878e1c |
|
BLAKE2b-256 | f8ce979bc973af30090be58f5b97adbba56e967c0217e23d28326099815d10f0 |