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.352.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1d596e6dbeded638547f3918749496c99e591df806e20ab20d81671994201c3 |
|
MD5 | b5fe566f13cd0776556c7aa39a9ba942 |
|
BLAKE2b-256 | ad27f0120aa5858b29bed774b71e4ee530ec774db62cab88b121dc50ed5efdb2 |
Close
Hashes for cdk_lambda_layer_zip-1.0.352-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac9a51fd4e93c5467989507b0f55e17b05fe8b7bd66f7bc1fd09fe5ab8a1e5ff |
|
MD5 | d279d9e891e7d108cd8c13c85129ea7f |
|
BLAKE2b-256 | 4da7133033373258641873d9e67eaee9eea912d76c13541e8c7400111cdb2ece |