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.157.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | da2d9343da923f714c8943352825d9a982fec2df54a6e25efb6a0bf033b37e06 |
|
MD5 | cb4c8059c3deeb17dce950730b9741c2 |
|
BLAKE2b-256 | 0c7acc19c97fd4f210aac2ea823a6d91ec65fd652405557b9bbd107ddf0687f8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.157-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c50f75e81291f8e46c64f8b7e12f251dacec43bf331af62fc0f1ec641aec68d9 |
|
MD5 | 45a08403d3da722ed6c7bcdc420bb864 |
|
BLAKE2b-256 | e5afd607b5dbdac6adba86668a2db927aecde0504eba5df74126d5411d207a38 |