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.802.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 341b3e53184cf0d95b145b764aa61dbcf891e4648ec077e94b1afe9576795a3a |
|
MD5 | a1d54a1ec74f7c3db0d9acb197745591 |
|
BLAKE2b-256 | fef3eb78e3eae04f46328db6e1b81e15ef2245a5908fe533e9dc81083dcf03c6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.802-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bbada6646abb4c260d5266e2493c3e0023e1f663e06cfa8cea379bb3d04b0bf |
|
MD5 | 02790394de469c3d2a4c2fd283c6999b |
|
BLAKE2b-256 | 840239c3a3c54f844681b2c3c19fdd676772ce6e3517e3d0a8a3e2b61ecb40b6 |