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.601.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a12f691a2636c8360c106df29db775d8dcd6eef5c197928d4bd85a2574b4f6a |
|
MD5 | 5c66cca7a55db94f134c5e19f087cf8d |
|
BLAKE2b-256 | a229de55272727d3618b3b5927164b550a61bd36e18b4d64e406f267e3ec8097 |
Close
Hashes for cdk_lambda_layer_curl-2.0.601-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62574242d32c318ecae596ea9c75eb8a059184f366a6b0eed737f82ed1b6a5e5 |
|
MD5 | d3201b4151077cd4261efd8d0f5bb96a |
|
BLAKE2b-256 | a707b988e0196fdba6034b183454fef6ef914322d630c99c9b4e1800fa52706e |