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.658.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27e623b4295a0081178a65a83836f163e98e442ffbfc60b411ac6b44d27d35a4 |
|
MD5 | d57fd666dd5f07f665829d3354a33da4 |
|
BLAKE2b-256 | 4d94090328c93047fbb3ff5470aa484ee28c4144885bb697620c632c65cd3fdd |
Close
Hashes for cdk_lambda_layer_curl-1.0.658-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d6567bc832195e300172e5d0e4416f08627b6e1253eed97818ecf21c493865 |
|
MD5 | d7589284dd3540cd3879756b399f4faa |
|
BLAKE2b-256 | 62e3a8b05e345f8da4ace8018e7fc58c104043f6cfcbd34f5d7465fc27903e04 |