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-1.0.239.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5af1b398baab0f7be77f0f3c0399e0881149c2ebb3a083923fdf0f686e79ff41 |
|
MD5 | e459a21ce8dcb2788ed35dfe021fe356 |
|
BLAKE2b-256 | 4480b4b14948c2c7053d58534a390588197e024ca9169fe4c0dd3f24ca62eef4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.239-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 828568ef2f126e9a5d196774d55d35f229aa2bfa3d368bf14aea0cd403b9b042 |
|
MD5 | c28aa65e0574f3ffa7e429bd9103aa9f |
|
BLAKE2b-256 | 5655fe51ab8b2bcbc5cfa4babc01948889a9236bfce4d2f615f0c8753a56e8fa |