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.346.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fba71ba23eee8e52903ece9204b5f83d3ca4ee808bd6c6185d8c6f0cd57b185 |
|
MD5 | b12ba171d2e841501b17572a4051fe2f |
|
BLAKE2b-256 | 39b53c60ec148486dae1519a5e5d34c17622836942d0f18336bc969fb34ee96e |
Close
Hashes for cdk_lambda_layer_curl-2.0.346-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07555e7d33b3137b474e71041496af0f12274565fee9816860f8c3b0a1e21a23 |
|
MD5 | b37d07c7b1aaba649fab8e8c1ea02b10 |
|
BLAKE2b-256 | 8df49459486b6054a12084c7e068407f91bdc0aaa153d5f5ab533c352d49e37c |