Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9859dcd0bda11fdbf544fa7fc660820ed4dfa9acd964fcff689a8e798c3191 |
|
MD5 | 7de4f4c376ae40ac8fb8ea3096c99b74 |
|
BLAKE2b-256 | 97626cb8f0e6d7585ebc54a91b6ff156dfd0045823925db254ffe84e6d6375a6 |
Close
Hashes for cdk_lambda_layer_zip-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1b5652f9a34582ff2b603c590d39ed23c33f9efdc70155f3e820435cf3647e7 |
|
MD5 | c23b78cdd19aa94f1d9f28c619f5c07e |
|
BLAKE2b-256 | 3716b68213f22563cc1f03b652962f4888897c029f1ab3d73c25bebe8ca6baa3 |