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.547.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94ec0d708670810794de472eb09ea059cb9fcdb917d0c321bf44783c29989fc |
|
MD5 | a8de713c27e6f817cc025d3951735478 |
|
BLAKE2b-256 | c34c786435acd1ad493335af950b73a43b909d872dcb09295a04bcab9a43202f |
Close
Hashes for cdk_lambda_layer_curl-2.0.547-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e9798b16f262944d4ff2659fa69ca7ff30d8cc74ae72748e8eeb103831589c4 |
|
MD5 | 7f989a7747faecfc3f862b8b99aa0d23 |
|
BLAKE2b-256 | dd6daa1a3f80f197f1d34b49cc4e09ccc164a1084ac1691ff0534186ec4a397a |