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.642.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8574c8d1fb5a0adb399dc5fc93684dad8d00db8ad5030c083facafdff9f8d9 |
|
MD5 | 49eabb0ba95c649c809455ff93ac8c31 |
|
BLAKE2b-256 | 7548fbccc99a646b703469428c45d417715d4b75aaaf23148f360fe4c9aeeaa6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.642-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee2d2bfeb5b012f36184c805a91f1586d7d7a6af614b734aa30b2d0ce78742a |
|
MD5 | f13b89e671ef5d747e0d74825b9359f3 |
|
BLAKE2b-256 | 519c924263d2e5e726d5356473c88b6a1b205a8ab99b8a69f13547aec0a0ff05 |