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.747.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36a04343afbad6d38f251a9584d6cefec795448bcaf089ea5eed1eca9df445a |
|
MD5 | 210e9b701b08f4bbb2b96102b6ec740f |
|
BLAKE2b-256 | 30a13be35e5254fa1a67a2fd876fddb4d4bb699c3a976871bf4e5408e091780a |
Close
Hashes for cdk_lambda_layer_curl-1.0.747-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0df9cfa5f3732de54b918d108a252698c15537d425a30c4edf788bac5f92ce57 |
|
MD5 | 10afe3842ad303acc5d362ecf1d7324c |
|
BLAKE2b-256 | f052dd1ac7a83c0a31e64e3d9f728914b9aac2d50e79ede7e71078d2158ed24e |