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.204.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9d540e0066e25eb49cec1997dad049446014b5034a51f94cdd17ce60641186 |
|
MD5 | cfee474464f43229c5a17b735c08f59d |
|
BLAKE2b-256 | 51878b7f2479d03d2652ccaca371b765298f470b8d8d3871cee889a8764fb191 |
Close
Hashes for cdk_lambda_layer_curl-1.0.204-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71561491aa28c20a9dc96d3bc47e5019cce221ca376214b01f856692ef9fe077 |
|
MD5 | 8881574ee6c7a546e25cd9c2a4cbd380 |
|
BLAKE2b-256 | 25ae9d49fc7997cb02041b1610781dffa8e0d0abaeb3ed223341fddbfe296962 |