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.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d7ed6ffb898363ff23b84cf90fe0754176d00d6a873fe9be796ad799ec91c85 |
|
MD5 | 3e5328f077e5f2b64156c8123f714f97 |
|
BLAKE2b-256 | 99f4a8013e78c5942e0c2b7f6f00ffe93c1c930366036226cfbcdd68917f902e |
Close
Hashes for cdk_lambda_layer_curl-2.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f121fd71731b3b0215b7035c5a6a2dfc97df569aa9066d29f7393190fd5434a |
|
MD5 | fe249b5c6fd4337c5e0a64b48d955982 |
|
BLAKE2b-256 | e37c24a81913c3b7af3bdb7f5ce67d75405ea2b6bc1968be47eeee4678dab152 |