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-1.0.509.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8875b8c809f803f3017ca04ab0015b0b361c7dd320f1b5a45b487c2ab68ee1a0 |
|
MD5 | c090118874c557cc584f9cc6209320db |
|
BLAKE2b-256 | 963f5583cd87fb903c9cad00c434605e0fec54ed2bfb7b1a4450bdf6447c4bd6 |
Close
Hashes for cdk_lambda_layer_curl-1.0.509-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd720706848ff9af36b1c43a50f703cea09d9718280007836d7a225497e4664 |
|
MD5 | 12093a13927821a320e144cb6cd98837 |
|
BLAKE2b-256 | 559f5f717e2236f3d74dd4a3bfbac9a424fbc7d4a2a1ae4ef4bb483d1422a6dc |