For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ae0ea70f2235fe2cc232a6de0ebe25dac9b1d114624b500ace0123cc992b64 |
|
MD5 | 9b7c526718082739b4f93531ce88411e |
|
BLAKE2b-256 | 22d801a435fca35e1f7417d9f1c1199a694a98f4533b4b905aedc787b265f294 |
Close
Hashes for cdk_lambda_layer_curl-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dbc9e8e99e1962d00387413c058de9c6d07247e750c2cabab07b11ecd9d7d7b |
|
MD5 | d449ea63d1707f5a832ff7acc0bb19c4 |
|
BLAKE2b-256 | 3e7983360379b1a447617d3e27b6997829e5ffad6e6f1810314a59889efb3420 |