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.723.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6cf4a7e4d73c21a231d606cbccb78e8e5f0bcab540f440127b00f2c168ff9e1 |
|
MD5 | 2de889905bab9edb7938453009ab35b8 |
|
BLAKE2b-256 | 95f87683c4d43b588d78f6a0703a207c241e2c0afca028ce6c3392989318df04 |
Close
Hashes for cdk_lambda_layer_curl-2.0.723-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d53ef2b434d7b07f74c1f3c412535774e20187f7baa069262e56686c90865212 |
|
MD5 | 717db5d503493108426af8410e594ad3 |
|
BLAKE2b-256 | 7c4219ad1a10318c1ca35f303e60aaa599c33c4bb8cef22e011931ee9cce214a |