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.343.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6141ba4a1f0ea8bb94eb96117eb4880acb0dc44bfcd494fe54d787e503d63361 |
|
MD5 | c68129e83f8b54b65cea106e6f3dedc6 |
|
BLAKE2b-256 | c48c9d3e80c40a3894b9b2b12b642bcc91976292e0a8c6dcf368f751e555f4c6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.343-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcd48783ffd86a84750dcde36838e4399df5901d6a31fee8ba143c6057442a70 |
|
MD5 | 02852f80b3f165cae2bc52e7e71075f4 |
|
BLAKE2b-256 | 9ebc0b0866f8f802bf681f7c9f1cce2635db2bffb951a04ab6caa40f1cedfb7e |