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.689.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80977bc9a7068b988dd441287d7c6c7cd8d2f1a2cf433a81d1de7bcd378c7ecb |
|
MD5 | 13772b2e23b94a700b9fbfa935fe1bad |
|
BLAKE2b-256 | 9ad7bafa6f51bda590036f4575d7b36c6c9af51ac3718efc4cd8a11ae38563f3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.689-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cee1063f7992614fc350097645cd3f583ca2924f0ddf740863f3054bbba26f |
|
MD5 | fe2a7442c4d60c189779c2129c2ee58f |
|
BLAKE2b-256 | fb1fcdd62ce4c1dd8d67135445bda6723d2924291f09413acc54d064bcb1739f |