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.839.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd7b945c8e6508782c2bf5b4f67cf1079e022b29e03954d20b383ed10362b56a |
|
MD5 | 2d5fca1cd9ed331d0d9731ad156d6188 |
|
BLAKE2b-256 | 74b464eb2b4b72272d3fdab4fc3360252679ef0dc629684bcf7b50c176689956 |
Close
Hashes for cdk_lambda_layer_curl-1.0.839-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0fa5d091c677a2e1692d6c1b880f2cfd572fff874dc4143484bf4a04caebeb5 |
|
MD5 | 3859afffe8a4afbd15bcad130e60fbfd |
|
BLAKE2b-256 | f0aa364a82292589be7f5f9cabbfe9dd83adfcb24f624ecc3272c1a97885f560 |