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.239.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95975c164f8fbc0331726f277737220db83ae7119ec4c1fe4b0e0bc0cfb081b5 |
|
MD5 | 6923ca29da65bbeb8e3c8f41918882c7 |
|
BLAKE2b-256 | 6055f755428d1f158360ac58ab46aaaa3d89fc009ea970c15e818d9c2efb190a |
Close
Hashes for cdk_lambda_layer_curl-2.0.239-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a59d9137173e4235e5ce0e77176907ddf6876fb14502b84c1df64449e654337 |
|
MD5 | ba867d76f3748c92631fa885ae3aadae |
|
BLAKE2b-256 | 2a79c897af0fd710963f14ccc78f5331b5e2402e35da3cf4ed153a9ed585a98b |