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.381.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13b54cac18578171538044a6dac3d8b54d6b89291c66f4193a60514550f96434 |
|
MD5 | a0eeb70d665634472375e22c381c5178 |
|
BLAKE2b-256 | 1d315c89ce01d4076877818b59a1c3d826942582169a8ce6f3a80410b7f2b5d9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.381-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c77c3bf54aeaeed0b7f71569a27e70e255df53367ea7addbeaa7e9bc4e2954b |
|
MD5 | 11eee49890f38d4c337b3179d5f1680a |
|
BLAKE2b-256 | 283373986aaf2876536de52017ecf4d4bfb20e0e28dab19194ca13c5b14b52be |