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.354.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 944f7f7fdcdbfe97c20332544326d574df4c65ad19d1f4cd640a2a9454be9a1e |
|
MD5 | 1ae5dc80cb3ccaea5d05244f9582ba8d |
|
BLAKE2b-256 | 73b0d849418d753c799a107593f75ce13a791ecaa25d3ed9fa0ff8eb866d2433 |
Close
Hashes for cdk_lambda_layer_zip-1.0.354-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8cff7a9fed1ae539c2b02c56348c252ace1570059cf57cff91ca3b2eb8a6dc |
|
MD5 | 7634318a9fc1479a3a145a4763f2853d |
|
BLAKE2b-256 | 73d3ef634a8b633ff5bd1d7d6adcf3b9572d213b088093df278b5e81051cf774 |