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.833.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9283246680340bf12026983383d602b4409e89361a44f79e24c00b1fe4c316ec |
|
MD5 | 21437b6e774ef3141feae0c9110ccf8a |
|
BLAKE2b-256 | f9b1484dc7b13f507d217ca50d932785261a555da6edc635577b8d28ba6ee748 |
Close
Hashes for cdk_lambda_layer_curl-1.0.833-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70275e2cad86a6bf9cc9c07ca9ee00656a6e072bf8b77cdb3d111aaeeb29dfba |
|
MD5 | d59622e79254f1d9a7493434480036f3 |
|
BLAKE2b-256 | a56166481609d7e6924fbb61bb35774713d353e744cffe84bca83ceeade73e81 |