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.575.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6995356425e2d1e4a2420f9cdf3be32c633cd623fd994862bed4e51b24739b57 |
|
MD5 | f576b4d92ee385b42346655694f385cd |
|
BLAKE2b-256 | cb0c34436a88ad6d2d21c82b6c6a9dafe3e0725e3ff109adaa387e4302448cc7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.575-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d484689429f01be911e180a21be874a78b77ee937029011e660ba8b6797bdb34 |
|
MD5 | 8077d17cf9ab03bbe23d649d6f7a3019 |
|
BLAKE2b-256 | e2fce8e56a634fb9640a5b12da4f066edc11c528abec78f896860cf6b19ceb06 |