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.30.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac4d15b2196ea9df0a1e64e3674ad7d654e83429c1dada575760420876349f64 |
|
MD5 | a9a6b04e121bb925be9c93c2afc6c555 |
|
BLAKE2b-256 | b5979862a9bc8e2f05cbfcab43619c150dbee356aca7d22514f0da56385b1483 |
Close
Hashes for cdk_lambda_layer_zip-1.0.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdd98e618809172273512d76644380c9e833cb20fd350c8563844500b279ff5d |
|
MD5 | 92e805ef2ea07e4081fb1a159e16327c |
|
BLAKE2b-256 | 70cd6a614d5210923e4fe2b42722c4d5a5ac6086fc0ce7a548ed148e65767d36 |