Lambda Layer for tar gz 7z
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056e8bae4b487a6342eb446bd59ad25a9ce5faefdd5d27c25d017cc7f1312b3a |
|
MD5 | 0075a90abe7a6a0f3f314a1a9434c72b |
|
BLAKE2b-256 | 2a889a5dc1fd2be22ef2be5e97aa09c41045942b0655945c3c5848604939596c |
Close
Hashes for cdk_lambda_layer_zip-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18efc142d1dff65433cfef62a6ec190e6776df51a5014c31e0d333805a19efa8 |
|
MD5 | 5f83211732913215eaf1fcee00c0fc27 |
|
BLAKE2b-256 | 1a1a2ea2df3f28d78e04db53172e425338f4a00f46c3570fa560f9af0bfb6da6 |