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.670.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3591f1e1e123b25baf4103ac348b582b11f8addf73eebcf947bc0c263216138d |
|
MD5 | 51b05c32c4531ee5b4050d386a4ebbb0 |
|
BLAKE2b-256 | 145e046353a3391b7e7d14fe9d329fdfba152294878ad6e5ddbaed8c6f333d7b |
Close
Hashes for cdk_lambda_layer_curl-2.0.670-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9972fc0aa40b46d54864fb76c1a982f49214eba8173123512b504b6daf95dd12 |
|
MD5 | 43b6d75911f0ccc2f367f23d72bffdd9 |
|
BLAKE2b-256 | a2f89f9539a07447ed5522dabbda56f68497c44f0aadd15e01a6636d99fd4675 |