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-2.0.62.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f613d2c75b8a2070393b68e35d11c37ea55c0685010f381c47d79164e0fa117 |
|
MD5 | 52c0dfab158ce164fe3e1c64f1068cd7 |
|
BLAKE2b-256 | a6abd23e323f2aaa63a6b08f810b6fa4c6556b3bdd0090a5e4d141302e05abf6 |
Close
Hashes for cdk_lambda_layer_zip-2.0.62-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97f7f3001ef7b3c1972eb21d26ea86f6149e118cb706891f3d6324ccff70baf1 |
|
MD5 | 085bd8507a55d04707947beb9506db07 |
|
BLAKE2b-256 | 11f72c98c0f3f2922f883e905fef0130014133c02a4d2c1720bcbe126d001954 |