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.760.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc515d24e246e8b5d58868c5b69ce36b0d58791c0a33ca4f294f2c764a4383f |
|
MD5 | 34c8160957348f67296e1f8cc9113760 |
|
BLAKE2b-256 | 05ff2669b4fe035791491c0bd5374e4b6f5080ac0b23c2d4759d212ac461d361 |
Close
Hashes for cdk_lambda_layer_curl-2.0.760-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee774a10f98e1932645a8c2f7c80f26a109f2aee748e51259fd7c06ed7e28f79 |
|
MD5 | 625ff03a60f3825647856f3818f0dc45 |
|
BLAKE2b-256 | a366b76cac729a4b8800bb25a54d48cc6cc75445788555e8657216685154ed33 |