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.251.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16b6ead7ba4de732051d2fb74608f075ee9b923a8c65fd3ac874658978f14e73 |
|
MD5 | 80992d8ef0f5065e95aa3f3e578b973b |
|
BLAKE2b-256 | 7858de9c83ce623ea641bc575537ea0d549e19f1c3aee64c5ee7518fc8b82d4e |
Close
Hashes for cdk_lambda_layer_zip-1.0.251-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fdb8e696f997fecd60bab881850de357f1813d3fdb6ac02ee3ee25f563227b5 |
|
MD5 | 7a6cb1356819539d6f503b1f420958b2 |
|
BLAKE2b-256 | d452b97bd6911bf92dd7a0ac3b7ddd970034e47f5de3025a9cdfbc5dc21be869 |