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.331.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd3bf9fff7ecdf2ca1b1e8c9b5e4a7a7557dced94142051d68c7c69b1849ee1 |
|
MD5 | 0af83826ef0f180514bcfb15d2f433b2 |
|
BLAKE2b-256 | dc73aee3b23a8a6768a273831f20e0b32732d84cf42abbbbf2cbb4009393d2b3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.331-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e670af4ab35c651445374861cada439de9b226bf4145d8be2064bb37bdd23cc |
|
MD5 | 2227a3cae4f1dbbe7356a45be93c9537 |
|
BLAKE2b-256 | 3c7385f6156e546e87bcdc6c23f3e9534a444eda7d2d3f8cf87f0063ba1530ba |