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.122.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9bd87d216fc000f5151bb12f71c0344608f5edd0753d3cfc4e0bc360731a99d |
|
MD5 | 42a9293c3419fa0229bada103bd4321a |
|
BLAKE2b-256 | 2b390a098787febfc33ff423141b3a005c39ff3c0dec80356295f550f4983421 |
Close
Hashes for cdk_lambda_layer_curl-2.0.122-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7839a9d8402c80911ecc02aaa26ff3194eca233ecb97daa2d27016239fb69334 |
|
MD5 | 370bad9b27b48de39bbfa06ca6ee8c48 |
|
BLAKE2b-256 | b88a50e9913b5f977aca5125ee97d031b415e811c9728981ecedd166c64c5a06 |