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.158.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563e09ac97ddf95ce38192a4c7ab3142ea24df80a8e82abd28d0e7119351ef8e |
|
MD5 | e310465e44652af43a43c3a9fd38f47b |
|
BLAKE2b-256 | 741b526e9d1083e3df75d46d33f99c91ab131b93bea5d50c242cc3acda58a7c9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.158-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b52aedb471aad291cb63b3c277cb6c97a750c28b2d6f0cd97315f9e347942e1 |
|
MD5 | 58c29db954f5bdaf3785389d500636b4 |
|
BLAKE2b-256 | 277917b805cede020068799c94706a147f22c743a004387bdcf2113dc00867eb |