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.712.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bba234a89444b27a94f9f50c481af29eb65ebdff1c0428cc50cd982119f3b8d9 |
|
MD5 | 973ba6fc84d3c3099e6265594d5676d7 |
|
BLAKE2b-256 | 394854c815cc29a6e37ab6a3412f6dc9f4b3d79216973d702faaf19859c8bd2b |
Close
Hashes for cdk_lambda_layer_curl-2.0.712-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b00fd75c3c6f557796392ad048fb36856e67a5c21bd84e50c3f79f0aa7a6ce |
|
MD5 | 846a2e5476811cbbe1d0d2ba6a7bf466 |
|
BLAKE2b-256 | ed2a44c1985325f6a991974554bc8780c57ea451160a11510477735b038e32a3 |