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.539.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2968445c0a0b7308f1b7b038473b8bacd51fbce39139f609f81687b7a6f3db23 |
|
MD5 | 048a459fcc5e8fc1f108682db22fa28d |
|
BLAKE2b-256 | acd8fcd7b0827545971a5f1f791e9bd8f82f0892120fe799bb90d713985f9285 |
Close
Hashes for cdk_lambda_layer_curl-2.0.539-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb21b5e6fd96dba7e216e3957134bd79beda0e71c38951f1c4a7191840dae8c |
|
MD5 | e3c1b198eaa61b36006a93cda95a3eb8 |
|
BLAKE2b-256 | 98eacf3c2801a9d06e00c7d49a0bca83f77d4242af6a0ed0cd75ceefb3b96334 |