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.424.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec284870abc039c685097710b2878a4a7b81818e7b5abd6b6c3b70478daa193 |
|
MD5 | 3411e3d4995acad420e5f795b94eb90a |
|
BLAKE2b-256 | fbf985e245c397f0ecafd67d714d44795d5e21f47b4b31ec2fb9c17038208c58 |
Close
Hashes for cdk_lambda_layer_curl-2.0.424-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1075d555bd04abdff62c3e99f54f5df46756b1f9dc3226555ab76d7f65e2ce6e |
|
MD5 | 78ca102615b4fccd88bfda5e71e3895b |
|
BLAKE2b-256 | ba06657842576085196eec4ac4c3b0d41c638e37c0563ecc15a113b69fb84d79 |