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.436.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc631bece23c5c96f6982c8a8c480fafe31c00ed59255fd8ec0c86204fe0e3bb |
|
MD5 | 279075a3cc87aa7d657c20875e91965f |
|
BLAKE2b-256 | aeac7e38ab47f79c7bffe09edefcf597541999d33a5ce76375dc1c1c32916f70 |
Close
Hashes for cdk_lambda_layer_curl-2.0.436-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21d021ecaf9e3140c36204271ea79c0fe0f828220acb48242ac9bffdca2458a8 |
|
MD5 | 7352b005aa52635a4a55c8b6fff24a41 |
|
BLAKE2b-256 | b91fb18e3acd7432b7f4e5d99e68fbc489c0a78d31c42fa019e43f2d662dee08 |