cdk-lambda-layer-zip
Project description
AWS Lambda Layer with zip
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 240939b7b3870e342c373fe2c4fc8b855912bf4eb33d3ebea4fe08dd5e6a4527 |
|
MD5 | 605a2aeb07b9f920aabdd5c6e9a5f445 |
|
BLAKE2b-256 | 976867e03fc143aa397619772aec00eaba1d0186120ca0360a14cbf1ce9e870f |
Close
Hashes for cdk_lambda_layer_zip-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f957fc553f5bd41cf7c9680c1565aaa7af531b31db93cbee9a887658568c62b1 |
|
MD5 | b6e7efc22a2ecfa3c74afc6db477924c |
|
BLAKE2b-256 | 513ba420077c62df070e0689a70270b710411b2568b0f4717ce6f7290bc82d2a |