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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb32b8789d1c0cc2915bc1e5cb77a1c6ba463597cfebb68da338dc38204b5c9f |
|
MD5 | 8f5b48bd633f6fa1a2f966e954d3506f |
|
BLAKE2b-256 | 44598b3e8b742ceacbde5284fb854adc0d3531fe9e452a13c84b07654bcec6ee |
Close
Hashes for cdk_lambda_layer_zip-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5550d25c670dfa17653ac120b58bcee376ff78a4eb730feb80fe4156139caa |
|
MD5 | 6f8fa9bb6160d22422399ce8c157ca01 |
|
BLAKE2b-256 | cf26d319a173b5617de2d5986845e17cdce8175aead1a22d4c7586885ff1005d |