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.515.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bae9c17cf7d68b985144e1894fb56fdc2ef7601e4749d4df5c10453bdbdfd9d |
|
MD5 | efa0a6b0b57a55497d6a6b031072d5b5 |
|
BLAKE2b-256 | f63d2a3c57739edcd3b7e68de43874b39aca7359bedb3cc51c49a123c75136ca |
Close
Hashes for cdk_lambda_layer_curl-2.0.515-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 719d6b1d4cbc897f95c42592501efcfb87be14fd91d772217d978e116b5f5a42 |
|
MD5 | d2054657703e9400974e1e094c11c17f |
|
BLAKE2b-256 | 441d4d8286620640df1d0a5f1777507346a6be306858010fe803e6f613e2b7b2 |