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.161.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a420fb01a3730d90696ead7c643715a93bdde4d8da8a3b0b939845f98890edc7 |
|
MD5 | a6989b36c17e7204d0d5d62e4009aaef |
|
BLAKE2b-256 | 83f1331c72e01cc948ba9cc84a5dfbc65632bfd0ae37efec761319bf5ec10833 |
Close
Hashes for cdk_lambda_layer_curl-1.0.161-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcbee425fd62446ea0037fa990115228a1d4a58f623a1f7c7deb4d2c48a27fc0 |
|
MD5 | de779918cc5df74ea8e2ffc1bc96e20a |
|
BLAKE2b-256 | 234897552c77ab5f997d12351df3eeda05a4c60bdc1dc931d41592d967474d97 |