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.139.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25a3223bb88c9cea3ef7501673f154cb52e9c7dab8c16d4d91431fce2f2c3f3 |
|
MD5 | e38bbca97110b1ce0010fc21b13fba02 |
|
BLAKE2b-256 | 9679066c10a717425608680a78145cee0509c1ea48317fd6f53008cbfc53ceb9 |
Close
Hashes for cdk_lambda_layer_zip-1.0.139-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 794495679e6845a928d3115db766767e9f39f25467e015efbe1f8fddd7a83757 |
|
MD5 | 721e2e0ce128a8ca6df4916a8a8ccc2d |
|
BLAKE2b-256 | 3ce6c3717d209c4b8258662445e9178675bd1f7f376613e9325f358b2e5e5320 |