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.650.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 126a1fe6b223e0b1bc9395205b30fcd0252011c83e342d67d9d290f8406ee889 |
|
MD5 | f9444e16b1784700b024f4190e1325bc |
|
BLAKE2b-256 | f7f8d01e188dca9a0f251d3526c317f123b867d66c086c883005468b30468772 |
Close
Hashes for cdk_lambda_layer_curl-2.0.650-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341ba4a12618cfd37ae6b4362db1ff74aa9851d2846bf7624d22dcdf32dba87b |
|
MD5 | 85591cbf8ad8ffc8a1c8b4ea218ebd26 |
|
BLAKE2b-256 | 7d87d54eeafd5eb96587be20024ecee4b777a46fa0a9ec53f4b572acfb3c74cc |