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-curl';
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-curl'
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85ecd1fdff36e224feb60814b3e732edec8f750c9210adccedf401242b3f8286 |
|
MD5 | 1d7070f4360dbc9160161062249cf895 |
|
BLAKE2b-256 | c7bdfb9e18452422a3495d126eedd7061a10eab1650b279f0439586b4fabb2e5 |
Close
Hashes for cdk_lambda_layer_zip-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b11fa0492338a7254f96a5772466a821e81a78021c2d6cf9cd8628684ac20b |
|
MD5 | fbd0a89ebd6f891e75a2ec948358d11a |
|
BLAKE2b-256 | 2e8e0d8f55e9bcaba9ebd9d7eb5018779075a6da4ef1dba8a19412821f84f350 |