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.704.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 980e36777cab55b989fc9e7ead5d14a8b83be33bf46411c08d38ad6a54d5d48e |
|
MD5 | 4b22417d45deb8b8ec8891fb491b07ac |
|
BLAKE2b-256 | d9a7854ec0968ae5903d588d4261ba995b2bfe8004afe1c169e1277872b237a8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.704-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4076acaf2ee248d02d5ddd5aab20ee86122113f422326bbad7ec5d4c7203587 |
|
MD5 | ba8c1259e21dc876b6602027a1e089dd |
|
BLAKE2b-256 | 5188fcda6f6b58ac156e7428b93b230245e6e67e07c3e8d7b99202903b77e358 |