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.620.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5cc4fcc5a2360caac6fb20eb5d335039a407e54f5b112c6bba2bf1d3e762efa |
|
MD5 | f701eef1764f019dce7dedae9da971f7 |
|
BLAKE2b-256 | 3720c44b1ceff9ab5c0a34a4f13d79b4d7adcc718e7cd9fad15d48400e89b9f3 |
Close
Hashes for cdk_lambda_layer_curl-1.0.620-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fafcdd53443c0916a26ed867ee115e59083a7f5a55942714511d57baab613eef |
|
MD5 | 7bb64ddcad999830bdf88d14c83faade |
|
BLAKE2b-256 | c0fdfe92d70629c23f9cd0a5a7c487ffb0fd8a4740b73b500ba2a2803a171067 |