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.654.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 764a3e2b25eec3ffb2354035ee9a914d44dd99ced55577ac74b2ca8849e696ae |
|
MD5 | 80e124af873ffa023bf1d335d95092ae |
|
BLAKE2b-256 | 14e030b4ed37037a810a800e255d72f5c38d1f023078c82b75304f2cfab86994 |
Close
Hashes for cdk_lambda_layer_curl-2.0.654-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fee599aabcd0dfd85be777db526c9e63fd157c8570d4c6a2b31c11f7398811 |
|
MD5 | 7a0a4c82ffa395bb070be99499cc9771 |
|
BLAKE2b-256 | 226a5838cc400261593ececef3a389d05dd89efafaec1d2cec88bac87a366104 |