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.129.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ccb6688d6d96525b233c5ad23b798b4c2901ca51a20a45220f3461da7d230b3 |
|
MD5 | 406bd95dece4c304a79206a2b6d3129f |
|
BLAKE2b-256 | 2333fa80b4391b73f376a2f12355ccdd8ff103700a1310229c253afd45a04e4a |
Close
Hashes for cdk_lambda_layer_curl-1.0.129-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb0c1dc18a7fa1a007918ace9681c4bcc323038358bf7baae29b469d234a38d |
|
MD5 | 7e6e063770774da7131f84666272de2a |
|
BLAKE2b-256 | 9bf49a5004c5f788a24a68cab9b08eef7e2fb297e00dd1f3f1b2d3a0c0a17f9b |