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.664.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33ca397d4952f74a814cc80087504b949fbae15b14be1f5cdb8795be3e0f874a |
|
MD5 | 39025ce18a32e9a1fcf68875e6c2dc28 |
|
BLAKE2b-256 | e8438222a25d1d84a0a746b36ef5d9c6ef68a1e081182fac87393d0e873b9def |
Close
Hashes for cdk_lambda_layer_curl-2.0.664-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ab04e3cead86188e69b378c03e88022d0a20dedea24e488b91df913d8f3773 |
|
MD5 | 30d25da8a9c69e16f40cef14b3d362d0 |
|
BLAKE2b-256 | cc9fb20eefb9de7b5bcdf4a4bfe68d2720e2ebadc085dcd04030c8a74252a5a6 |