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.81.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a425e6cbdbd54846db049e24a24269b992e15c67d06b6597ff33b6127ec6fb |
|
MD5 | ad19cb40f1df232f4faf471211541e7a |
|
BLAKE2b-256 | e47f32fbf7207bbd99c138b0345be9dac862eacb5f4ab41ecb06191c54d0a970 |
Close
Hashes for cdk_lambda_layer_curl-2.0.81-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfc2ea409e4216600b35b4339f372a85176e948cf002dd91448527b8408f3f26 |
|
MD5 | e7b678ba6ea368bc43158aed498922d5 |
|
BLAKE2b-256 | 8b19080a765c57d00af8e17e92bd65f7169dfd1ea55dd98a9c9c2016e8b0ba26 |