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.325.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86719182d7654e9a36b5a4d01ec11e9f3b1631eeb3a4623db6b6f90ccd724840 |
|
MD5 | 11ff8b55e91c4f6d795feedb54095968 |
|
BLAKE2b-256 | d9c579c40e52ad7f5d361eefced2fdf17b9b9251446adb6f4baa10fabec4aa17 |
Close
Hashes for cdk_lambda_layer_curl-1.0.325-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99798973c7725ad89d832a1f337f89aecf204c55429378b57f17002af1daa18c |
|
MD5 | 0068620ad02c47e162edca0d5e4e226e |
|
BLAKE2b-256 | 0deab5a9f266b51dea51d110d88e58af8470a49c0152a5a223b9ecb7ac4257b1 |