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.201.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50de7eb4e5ba468eeecb01b8c942ef39032dcaad024ca1052f3535678748572c |
|
MD5 | 4cc862b309fe0ba3550895d02b883ba0 |
|
BLAKE2b-256 | 829dc9cf05c846655cf7d20277be1f6b50547d9ffc7ccd26e162f1ccb3a18e63 |
Close
Hashes for cdk_lambda_layer_curl-2.0.201-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f668053d7588a2d3f1e05d428b2792e9497f24e8676b243604c852d9f75b7cf3 |
|
MD5 | d7a713a3e08f3c5c16c539b4cd349b18 |
|
BLAKE2b-256 | ddb1798fc0548c905ac80a875b524f14c7a74f5f656df4faf4118f44274821d2 |