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.257.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d8b395217ca632af21f5c8c4c58526f98df16a3366324119f647e1d418f7e25 |
|
MD5 | ebbd0ca0880664130a4228fd1f438286 |
|
BLAKE2b-256 | d0ba3ea04c1cffdb46de691d2811bb0e098a80c323370133de85fe46dd376698 |
Close
Hashes for cdk_lambda_layer_curl-1.0.257-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c8d498af4547beaa8827e94cbdd5450859c90f45a6abee7705cfe2fb9dbd4ac |
|
MD5 | e4005f1f4e617aae973807722aac2987 |
|
BLAKE2b-256 | 09c39767914617fa6d257c0ba6bc1c3f2a83e8b3ddb3f40b862bd0bb69e50a23 |