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.668.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82caf068137d08d182627f6349a27db5aa4e43cb08050899fd3f841980d4b8b8 |
|
MD5 | c97801f35dce45f16c938a7cd053ec19 |
|
BLAKE2b-256 | 8cef0a20f833567b473e78075ab015bde22c3a5d2e9841d973e7efb92a2c2afb |
Close
Hashes for cdk_lambda_layer_curl-2.0.668-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d21e582d193cc8d28a7249a8ad999aa548f4dfa2bfab85e39c9c3f57b4ee1db4 |
|
MD5 | 974909d5845f4f43e64a541dbf8acfe6 |
|
BLAKE2b-256 | ce579bd19db54f17d8414263be200b82d903913d33a63744096b6ad85498e455 |