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.241.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae1f47423c27421d5f85e5570f389c62684b6966b720c37ac72161a8831ddb89 |
|
MD5 | 4f0ec6a1de4349ae4387b4c35d4b9cea |
|
BLAKE2b-256 | e4394492800a5c1505803ddea8afb5d03ed68488ceadb64a76a5640125d212fa |
Close
Hashes for cdk_lambda_layer_curl-2.0.241-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f0266e22061ed278ca67284ea5c87549cefc08f3482fa5a8a6cad8e2f11ac0 |
|
MD5 | bcc5911635c748d0c9fb4fb61cc61e6c |
|
BLAKE2b-256 | d138e114d8c863b41acabc238090d19ea2080656b1b3bb4c56a94a3666bd5666 |