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.302.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5681c0d08af097db1f3b54a1ff411c5398a032e9283fdb290272c2cb6f1af29c |
|
MD5 | 90dd5aa5c35e2d8139e78fa10e09d8f3 |
|
BLAKE2b-256 | f97deaab3031dfd70e13d21e4b3f6728611b56eb60385ee5ec40526431cff090 |
Close
Hashes for cdk_lambda_layer_curl-1.0.302-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 441f9868d1c679d8d7a4977d3063eb3103740c85a342e1d672fc07474ed65599 |
|
MD5 | cc6a89686c4faec0bd2e52fae2a46bc6 |
|
BLAKE2b-256 | 1cbb5deced458f0bc52883bcd5c5d36fb45cf55ec03a0b4c1c25b89b7f801a4b |