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.209.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2314380a516961bcaa186086c1f9c9f0ba26181b5804f7e991369e2ea021a4ac |
|
MD5 | 421bff58f5efd83b38638728312116c6 |
|
BLAKE2b-256 | 2736bcc2a05b452c6477d3db92efb2d673332679d24adf5d0bc64a300c8fcb6d |
Close
Hashes for cdk_lambda_layer_curl-2.0.209-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca160259a7d477fe550357ff21f50bfc4f25f0669e957f7fe521713ac18155a9 |
|
MD5 | 8bc8271e9045222e837eda97ef92d866 |
|
BLAKE2b-256 | 32bb21e6f2fe3e0cda9d9975dc564eab8459c2439520205df29153e3d7418986 |