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.215.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bac818b7ee71cd31f21de76bb43da001993148cd24885a9edff80efbf5b13e |
|
MD5 | 1f55ff554cc7d150f2e8741bbf50c887 |
|
BLAKE2b-256 | d79f97d16de6dcd41f5b021fe4478714bc364da8e306839dbe8feb0796f45965 |
Close
Hashes for cdk_lambda_layer_zip-1.0.215-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8ac5a9c87a786dee06efa98f85e1e2cb954d07106f26d79abf3f108b77d325 |
|
MD5 | 6543a7cd0c44d37c716eaee1d05a79bd |
|
BLAKE2b-256 | b191a0c3aafee44273eebb5a7736c10ec974c9b64f3025c3f54a8e6bba2a88da |