For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } 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 CurlLayer(this, 'CurlLayer')]
});
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-curl-2.0.512.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c266c499f2d0440c590dac8dd30cae38f9992e451a048aae18217bb8a4c2c75 |
|
MD5 | 44f6c1f3014b7eeb75f11938ca11a777 |
|
BLAKE2b-256 | 0bcf371da59fe48217c270ad65f43a39ff88902643483cd2cebd4b25bac663fe |
Close
Hashes for cdk_lambda_layer_curl-2.0.512-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14722736a3be78e6446410efe08e5a6be5c89eeb8b13deccbd13589dea0142cf |
|
MD5 | 6ce215e1b50c61e6079a82210a5c3df0 |
|
BLAKE2b-256 | 079a5d0c16a188ef44ded6a3aa74dfe1d552695d789681f6eb8a78f7526fec67 |