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-2.0.107.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9bfa24a991bdb0df6b5fcea20ce49b4123b350435dd6e1886fad30e708aa79 |
|
MD5 | 2161a51d20dd3fc8aacc44015b843424 |
|
BLAKE2b-256 | badc849b39fc9eefa0dad8ce57a05152628cdbbbccd50269e884d481bb395e2d |
Close
Hashes for cdk_lambda_layer_zip-2.0.107-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00b15eb8accbe05e4bc05eea9c0fcd73e1b5505016ebb2a920918e7403386cf |
|
MD5 | d5701285e7d1d186fa35c8b631d1b13d |
|
BLAKE2b-256 | ee9c36b01e536bbc6b3e065d0131039f7a2351646dfbe1dd3376721a7cb04d35 |