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.604.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1901303aa083a5efbe14152fb54eb2dfa528ca45af9e02f39e1449464e3d5b0 |
|
MD5 | 8a41672691ea9593599125c22970bb07 |
|
BLAKE2b-256 | 4d7f5d6209b050566ae29d097985262ccf205fec809ebcc5c5e33bf01e92acbe |
Close
Hashes for cdk_lambda_layer_curl-2.0.604-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 919c854a9c7a582c6a224a8991e1e155292f380b7d06039edd403051de647609 |
|
MD5 | cb0ad8748a3d7977bb25639b181168dd |
|
BLAKE2b-256 | b7841aa068750b1053310612617ff39b23e24056ebab7a75d8cd5195410c7e84 |