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.311.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8863fa5d139a01a7e7f85f8926ce43142234c0f153748e53f707bc84a069c88 |
|
MD5 | 5d99c04e3fc74e348b0f2e264b55d20d |
|
BLAKE2b-256 | f14dd901fc151a2bbb9d4677fcef9141a720d03b9ff817128caf997f0c0b20cf |
Close
Hashes for cdk_lambda_layer_zip-1.0.311-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19aa7fb7e221b8bceece6a9b0596717afcf18ed8f0631ab8bb545ccaa6aaff5a |
|
MD5 | 4f7701910a6d7eb8d5ce69b945892f24 |
|
BLAKE2b-256 | 89e1320f4de136c2b2a2cedd3667763854f70ed0d7e3cb0c81d3e01ec280e974 |