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.111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6fcba643438a94d45fb974f4216bf2cfd317a5f04aebe8d8f9c91b3626675c |
|
MD5 | 895175027b14e5f747d57ee3c6acf081 |
|
BLAKE2b-256 | 2b1128c4b95eaa9c98057cd4ff3783d06e894290e8c4ef3dae28958e0f0bbb50 |
Close
Hashes for cdk_lambda_layer_curl-1.0.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12d6ff48e2878a09c6184ba7e3f3ebef8cc64090272b007d268a96dd242bab08 |
|
MD5 | 213db442f6eeb6111d1bb50608aa5df5 |
|
BLAKE2b-256 | adc3b00d287f9f52a75103204c6e9caac5da13f6f5e7370f084982602be8eb86 |