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.429.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb272bd9afcb9798fa162b157cdad5603abebf0129759520364518b25249147 |
|
MD5 | ca5d6a8eda8208c76f653119f8c73ee9 |
|
BLAKE2b-256 | 16b8561a7ceae6b81eef1f73eec7e7b032afa69ccaa3116329213dc62355f7c0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.429-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 486f5daf35bbad241ce330fadb899ce54eb6731dd3e2ea00aa91cdba9efc5ae0 |
|
MD5 | 4623cc3579c572ef7beda2817b8c96f5 |
|
BLAKE2b-256 | 496c97435e1e0e31a5d813dc69da3e69776dc0616c280b5e7d87c0f114772bee |