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.365.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897425426016487f6f9f40090845a11f492e13127e390cd2d3e777338cec1f63 |
|
MD5 | b503ed15cd1a8e75aa7190c9e30a5897 |
|
BLAKE2b-256 | e5f60dd5880fe3e84a3f33484b843b469b5ca6bde6a7a35c073aceb32146e554 |
Close
Hashes for cdk_lambda_layer_zip-1.0.365-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31ff1a99bb6cf209b221f62a7f93a11b557fff13bdbf6f898f27d14b1a372ec3 |
|
MD5 | 157976de32fa5f8f3fa35f1e5418523d |
|
BLAKE2b-256 | 9ebf6b61a7cff196e90d0b22407dbb1357179c54c584eaea9ad55f3b085b4ee8 |