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-1.0.126.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45956f891f98b723e57b510428919fcb71fa8bc7a830b11a059f7deba1ebd779 |
|
MD5 | bfdd721b0c02432b66a268479fa9943c |
|
BLAKE2b-256 | 9d6f7d3d77b109b7b41be1df2016f507e3149246af0dde516b86f8878217add3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.126-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8230640dee700360afd45a4731eacbe16f4a40f9ab82a90004e0ea2f2e0649dc |
|
MD5 | fc2153443085f17c8adf4220e62fcd00 |
|
BLAKE2b-256 | 1e4462e3320e5e82e1347adcd7afd91952a10e5d6686f0d1e72b5a73eae3d030 |