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.125.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08bbf3e9e7b1b9b5afece8b41e689aa0a3fd220a9a225de68008220d74dbe6b9 |
|
MD5 | a5a36caab5e2036f2e00e75668c99c94 |
|
BLAKE2b-256 | 299f205f637f13ce7bd21a2fb013946b1fd07e958110fc261e777cd38cd42234 |
Close
Hashes for cdk_lambda_layer_curl-2.0.125-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e1d28a4f17472f10669507665ff918c0242cd04dc4ab5bdc908e861295743a3 |
|
MD5 | 601ea33fa5c7047cf5755e1d10c57b69 |
|
BLAKE2b-256 | 76e05de588f88b3ee3db5cf8d903ac221087172f3d7fbe04d46e98d85b8ce2ba |