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.292.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad433a7845a8dd31d108745e73c179ae50988615a5107ba94b36f32c6d1a8ec |
|
MD5 | 203d4396aeee7bc9b0ad95e6eab390c6 |
|
BLAKE2b-256 | cf4dbff99b34673727e0fb8e4964520e8b07da07852e34a69eb06342c986d74f |
Close
Hashes for cdk_lambda_layer_curl-1.0.292-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b7cf399097b934e1dd1401318e7a025fe14d8495ac877722614301a4640d55 |
|
MD5 | 56dd865ff6a96a484b7d327cd9a426cf |
|
BLAKE2b-256 | e520d75deb56e0a71bc3548f0528142f0563d43eff5320600a8b8d93fc5b6b2e |