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.102.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b35c791607d41ce29e776e43ace074c36960174618a63413d012b290458d7ca3 |
|
MD5 | 56f2e4a1a911914a58a90e5eb6ba8857 |
|
BLAKE2b-256 | 4e120f4bf1d0380b73fc1d48eac844d485563d6e2ae828a983b287d808badfe3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.102-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b25ca53947a872c4f85aaaba1c20b168abe22ed0c12f1b17f70a4bbbff8ad5 |
|
MD5 | 04c2a0b56de8aef82dc95936d11a6fcb |
|
BLAKE2b-256 | 450e228b62b37a42e96d8b6d6bf7268c39bba27a3a04f6a066febd8405a51e76 |