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.68.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfea7a78d22d22dda15efa960e14f3d95819baf87347e46636b134632fdd1e20 |
|
MD5 | 211028ba01aa14239ad2453085b4884a |
|
BLAKE2b-256 | ea72456b3102521983f584933aa632ec632ceff6330630d070f1a38b51f60dff |
Close
Hashes for cdk_lambda_layer_curl-2.0.68-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73accb09b4b40c0a87012b66e18ea64842ab9083de8f43e0b33efc48fe7bc67 |
|
MD5 | c0c56cb7235fc6248cc4a7073caa41f3 |
|
BLAKE2b-256 | 76a3b3ecb31d6a697287957c849f011f5c791dbac21e7c8da9249cc5e1e79e50 |