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.117.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 936addd4e3b88561fcd801a519542de6334b3b797fb7dbe2440e04ba21de650f |
|
MD5 | f4a0202f951a1f5adcec34f5aafd28c6 |
|
BLAKE2b-256 | a68bedd6ee5d3de7b9a1d8ea35f4bf4a39e6d478c6b7e488240e48a4a81e4cf3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.117-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 979e7c87cc6161537b675571e374f15d3b1c423b684a6b953b9de0e3024ce678 |
|
MD5 | 25e949c9ffb68565d401b02d45db0cda |
|
BLAKE2b-256 | 8e1650de97e952e7bce6c6836baf0534891fe9e25c63640faa7e388fd75d50df |