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.669.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32ac663539ee341e187b42532e99412c5605b1b769eb0f4c345cd1c1f2a2964 |
|
MD5 | 3562009c5afddf36d18164c10bd5bf11 |
|
BLAKE2b-256 | 9eb33069193137b66d23b52145d766bee80c814237ce024855e8b12f36beee2e |
Close
Hashes for cdk_lambda_layer_curl-2.0.669-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6362eedb95eed5953a9f207be96b6e6cbf1274074edd0dc45b40d9b56037106 |
|
MD5 | 9f4ba96ce3eea6ebd5871f5d5e779d6c |
|
BLAKE2b-256 | e0e29dab30bf3a65ab3fa68b124aa493e15f6686d5bdc02c814bd06e13c3a99d |