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.22.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a4e13276294c76da3dc20f427f8605009fd42fccdb95145853e896ed073fe24 |
|
MD5 | a1b4df311d94c9e936da500601d99a5d |
|
BLAKE2b-256 | c2a90f5751c6776c3725795e24a9cc0668e6b3ce3ce7dcd5b1d234eb05e2873a |
Close
Hashes for cdk_lambda_layer_curl-2.0.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5935c267d79d8e64750b9db724d4daec6abd3f802cf434dd8b44856ee4eff247 |
|
MD5 | ae880096a676865706118bfc436d600f |
|
BLAKE2b-256 | 8e56ab6e46ae69939ddca1c6da27dc2ee8b4ed065bc191d388084efca7cc392e |