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.119.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b5b4f41d0b9e4da6cbc84ec5901582ed7e0a85aaaa836a97b3d11bf0396440f |
|
MD5 | 04155c716103c3979639afff602eb098 |
|
BLAKE2b-256 | 27b170977e84d32929d921bb413b5170483a6ca9a58145164abe1172a7ea67db |
Close
Hashes for cdk_lambda_layer_curl-1.0.119-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 987dcdc1b807d873d40e8e6a610b38e1aa360f1f42b8636dea3e948a857e5c57 |
|
MD5 | 9f2139f7ff2e5dd57fd7898d25d8cf14 |
|
BLAKE2b-256 | 0c69e2713f214b50a52eecea44152a0df17b4653dcbd2bd6eecf4ec3df894f98 |