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.33.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077158d75a03f19aeaf579df1049e0e64d553f602a699ba39f826fdef08fa493 |
|
MD5 | f4214593611124474680066a60ddea04 |
|
BLAKE2b-256 | b5eb2dc298f7c29297f9543a415078e9c3b3cb7a726edcec6fd97bdf8df5e38a |
Close
Hashes for cdk_lambda_layer_curl-1.0.33-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 963514a0595a621d59cf549de4bfa6c5844e89b4bc20c0e17db430d086580fc2 |
|
MD5 | 577024916eeaaec54407160121b77931 |
|
BLAKE2b-256 | ac8e9d024266bbb05cc4c91a4462235752f2ce88899e743b65487ed536b01c65 |