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.419.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c78a7c1c6c33e8993a115f6a9b5a37ad01aabbd9575d8bf9a1611df779096bd7 |
|
MD5 | fc0730b614d015cf936e67ffd58e76bf |
|
BLAKE2b-256 | c5a9aa307db75ced131aa7dd1a51610e958ea9d53b4db17e14fb6bfb0238a69d |
Close
Hashes for cdk_lambda_layer_curl-2.0.419-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a63debf3bdab41217a82c76e8d3f8bae2c1ed5c978b20995afa3ba28225227 |
|
MD5 | 91e0d8edd6e2173dc9e38b2ed6adb65d |
|
BLAKE2b-256 | eb4524a487f5ea38eca3708e5a83e6572bc0fdfefa3ed8647a6bbf995b10579a |