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.384.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50eabcc39f71a9ecec2cbf19b693d9e1f833b8aa7df42cbfc174fc220d5a4839 |
|
MD5 | 373d5b18174706bd6b19aec1ac237805 |
|
BLAKE2b-256 | d42d13c384a98ef5df2dc496408210fc22eb07adb9dd9d7a9093d6522acb8e27 |
Close
Hashes for cdk_lambda_layer_curl-1.0.384-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23456889cd0f1435f519bebb3bb635ec4f027883e8901a7906f392abeaa670d7 |
|
MD5 | 468f147e48ea6215559d9331d3e7ed91 |
|
BLAKE2b-256 | b527c72d80aa6d60eb667ad6af4e28cdbf80a9cdad8fda5be37a7e5083edce4d |