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.232.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8fa88311d165c3a83d4a494cf83075e267ecf2700ae5f7ab5ce99f0338e58d9 |
|
MD5 | 2848d84972aa5e4d71b8210da973f879 |
|
BLAKE2b-256 | 93a08f5d129c8261ad8e8bf3557a1b97f55dc92830a389cbd03a7b2c5c994b6d |
Close
Hashes for cdk_lambda_layer_curl-1.0.232-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41aba3f3d27f2cba5aadbec9f2676e4f5037f6a738abb039cf0f464e3f639ea0 |
|
MD5 | 177edb5621625c034bf9c7e4ca19955b |
|
BLAKE2b-256 | 168ceb03826db1c9647175db37f6995a9d9ba443d0f0d7219ed0266a1269fdb3 |