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.301.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d7d986d6217c8b72ef56805001aadd0de51bdeb51e8f8d29a121419830e10d |
|
MD5 | 7953aab137c836f768c0d12f72a9742f |
|
BLAKE2b-256 | 2071d10732680a784e3450f7dea371775ad972fab09d6a06f7148857459574c9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.301-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 274507d147a91987f221dc39b98381ae6f20d27e86b7c69b0b86ddd4d41a482a |
|
MD5 | 12111f7f531f98ea7c3e70658cc6dea9 |
|
BLAKE2b-256 | db1fce6b34683c722fa7d5a5fcb5b16150503ef08016116fcc47179cdf54428b |