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.328.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2115269e83e6ead287b717ee7f9507f8306a09889e201d00e4187837ba7ef978 |
|
MD5 | f9de7a452d32406775dc4bb2a7a478d3 |
|
BLAKE2b-256 | 843d265d1946b2f41c53049341c5d3b1ac24752de9c1927d3f14f475cc0ff5e1 |
Close
Hashes for cdk_lambda_layer_zip-2.0.328-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9437d688f0b1d075ca63799fa1e31212ef5b4c0252946c15042d7c22a27af30f |
|
MD5 | d5f6b3bcb832c89924ada6f6b116a3a5 |
|
BLAKE2b-256 | 4fc7bfc9f0fb09831b53e4c3650134e9736abc628b1d0cada49b92165eca289d |