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.139.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43c80e8176299bad6dccb1a7cb45eae2646d847c735fb9432e485d6083b0ca22 |
|
MD5 | 122eed80bfae0b9c398b43f0f63bc15e |
|
BLAKE2b-256 | f495c9dc7eb93606040355733277db59c36625c133028b66b44a4c7ac60f7e75 |
Close
Hashes for cdk_lambda_layer_curl-2.0.139-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d38a6c31eec78a7f16326d3cd804cc8b66fcec9d2caa143d7aedeb61788c6d9f |
|
MD5 | 96957c69880838a048ae77a343829674 |
|
BLAKE2b-256 | c3131ef84be2e6449ea593d229e4964550374e27d3e9d62a3e16d09e5049c2aa |