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.645.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e499ca24d8b35477d48207a4e68f070e884bce980f6f9ce5bae17f819f9982ee |
|
MD5 | 443736409c88aa04e0c5ec9e10c233a1 |
|
BLAKE2b-256 | a3a54492d2b219d684653c9db1b6318348e99bd502de7c2c15ec9af22c0be7e8 |
Close
Hashes for cdk_lambda_layer_curl-1.0.645-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3823fdb14407b63190794b01ecce58d81312b58c6491b5cc7e0f23d0c7e7d3d9 |
|
MD5 | 577bc7bfc3540e6a681200e185174d3d |
|
BLAKE2b-256 | c5185f3d8d93602ee92e55f91dcc01c66f2d57652081457e61e15413ac68e428 |