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.491.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7b1629d0ac75ba44cad03806d4d15b805deb8ab6b78cfa506d6c32b3c3a9cc4 |
|
MD5 | 5ecf823ee2c661146b2770dffe56168f |
|
BLAKE2b-256 | 75c4b61afb69abccb66e7949f58a3dcb7e129a48f82d9c6e58c7dcac3ffa065e |
Close
Hashes for cdk_lambda_layer_curl-1.0.491-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab7d5cee3776670762ea476f5a9a4e291c92e7358f2b757affc42ac36dedb86 |
|
MD5 | a19772ca9d7b0fdce91f45e8f65c3b51 |
|
BLAKE2b-256 | d3edeb9a1c1ec61cd460482493fe5524f7e3107380a8400f5fe5c6edb092eb13 |