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.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 892b7e13a0d688d7a3be922bd56d6959e220710a67cc05e4265a383eda0e6dbb |
|
MD5 | 99f3c00ca7a5ab4c5e561a341a9249e1 |
|
BLAKE2b-256 | 9eb028c2684e59181d936f36e38183698269bd661754871fa020c8811d1df0e3 |
Close
Hashes for cdk_lambda_layer_zip-1.0.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22178687dcde424c150b0c8fa8f1e4a2785ead18aa3bb8333dd8c98e5df2f708 |
|
MD5 | 85497528d4e6cff150d35bb6b9d4348b |
|
BLAKE2b-256 | 00ba4c9a77ed3e90907a5ddb12a7863197a6ce6151d6cb6fae7d8e282291073b |