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.527.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bbab112e4b7f9b54785cd8fe36f379f8dccc19c881bb2f4c5893643c3185c61 |
|
MD5 | 39e78a37fb242db6c731fd69dfa60c7c |
|
BLAKE2b-256 | 4c99623f6c71396ac62989e146908b304ee39a314a3500689dedf10ee8720ff7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.527-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df8c521507cdf041b651ff8a4bbe31bfe27617eec0e7e958c9cef1578e1bdba7 |
|
MD5 | 0ca0260d09a22cf4f4a5a628bbe4824b |
|
BLAKE2b-256 | ef102162344bd254d903a03a0f1a15ea658092d7584290459393c5ef29678d81 |