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.363.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7a44b2e9ef73accea0e16fc70509c7087823cff2a0ba278201fdedda384569d |
|
MD5 | 14b3e0fb1d61fa3b6b065ed093543821 |
|
BLAKE2b-256 | ef1eb2910dbb71eb96971c21773e74129c3f45e73782fe2777a8c7196215fa06 |
Close
Hashes for cdk_lambda_layer_curl-2.0.363-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e312b94183017bc8de1225a2146db942f11b4cb6ee36d454847acfa3377b3cdf |
|
MD5 | de943539c7e2640907f6d72cd29cda63 |
|
BLAKE2b-256 | 60f0e956ec8b25ae2790f190552af050da471886ac68f4a3ff3876c7cfc101ee |