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.518.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb45c66e1185d69f10da6d7ea808f6e65e3b51a15e1d612ca7a413ea06b2c1c0 |
|
MD5 | 522ac7543e841b09fceacb190527d140 |
|
BLAKE2b-256 | 511b83dc8790e10dc2f409d9ba6e984b37beeb3d9a6b8f3f9837c5347dba6967 |
Close
Hashes for cdk_lambda_layer_curl-1.0.518-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d40412376a3cda123056c3e2e98804a8cbf2191cc6834d3977ebbf6c156fba4f |
|
MD5 | 6ed0cd1bf489de9c877a1c5caf026995 |
|
BLAKE2b-256 | 46f05f205bdacaca9cb2361ef7daafba3cac470af860828ec99c7c28ef4c0140 |