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.571.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8963dfb9a6a093180ca1814ac496abb2ba8e9ba702822ccfef56fad057a44718 |
|
MD5 | 7d4702f82f566f960f488417444efde3 |
|
BLAKE2b-256 | 43748d355c2d045232d941f8cba382e629c057d11002be8805d7e3d2b497adb1 |
Close
Hashes for cdk_lambda_layer_curl-2.0.571-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede5b2a30f2d3cc5050bea8d1e171f1bbab823f2c340494f8f99834fd43e3e5f |
|
MD5 | dbe4fba6fb81304a9381f3858c9a95c8 |
|
BLAKE2b-256 | d008b6db10db93563a170adddfa48aaadd7eecaa62b3e9373b5c21e51d0aa278 |