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.685.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26cbaf97fc31f46384f1df5e256454034508515b1706ac00b7461e8387d99511 |
|
MD5 | b63bdad83caa5e52f359f33408ee6312 |
|
BLAKE2b-256 | e8ec13cf714306ed5f0c2785bf5818f5dcbf394b46973688c6d5b5dd1c256518 |
Close
Hashes for cdk_lambda_layer_curl-2.0.685-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 020b69b35598382a31faf822a106f868e54ffdc74bbff2836d29104548552246 |
|
MD5 | 79280a3d8fa6eee5d535bf98336eba8a |
|
BLAKE2b-256 | 19528e10fa4d3fe6fdcd2666899b494f1c850c13e4e7c680d70c46095bc63845 |