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.269.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28bc6e817ab1a42986460b9b70bbbb3295ac893cb6043de38d3cd9224f9fd8c2 |
|
MD5 | 200ccdf4cca9ce3572ea9f2bb5beec01 |
|
BLAKE2b-256 | 8eb2021514dd2ef5ba5733311635e37b6eb7cdcd2dd0a1e01a09fa5103e5c0dc |
Close
Hashes for cdk_lambda_layer_curl-1.0.269-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17506390a87c2b1b3f3222385c4b07b5cc8e79563aaf5e6af5a22c474fff9051 |
|
MD5 | 3a35b6ae95d1c1380c00af66aeedc526 |
|
BLAKE2b-256 | 0c841bc5e0bb1455de86886bd7cb8d79d9446fa950f3fc8562efbe2d4422b56e |