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.174.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64dd41acd3517db37139c8b6228d68d148b913986db9e33fc1b700423899c992 |
|
MD5 | 6a0807b806dd049aae40b5e650e40e43 |
|
BLAKE2b-256 | 6210c4bfe0d2ae3557df5320bbfc1da2aa9cef7c688b35dccb80525d59747c54 |
Close
Hashes for cdk_lambda_layer_zip-1.0.174-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5d8d76ef96f6b7fc307eb200401ec89ba856df67b7da062fd098764c2e717d4 |
|
MD5 | 9c88b46d6f034301756ca53ecfe4536b |
|
BLAKE2b-256 | 3e0b759b2473e5324ca7b4f2c08d1661c34766dc109c71b1e0a07d747e0da19f |