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.521.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5858beedf5f1fb9378bf63ae3080ef694f815cd8fcd4d32fa89bcaded0fbd2a |
|
MD5 | 7179a212869a7f1522d537b239dc077e |
|
BLAKE2b-256 | e59c0be8c88804e72a508e890184a3620abc501c1142b2267e127821e4b9927f |
Close
Hashes for cdk_lambda_layer_curl-1.0.521-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12b16b696c16f7138a3b6fa7a4e153c8cda3acdaff034f0e955b89a5f6340a85 |
|
MD5 | 5367f4466476e92c92e1d7962dacfc68 |
|
BLAKE2b-256 | ead1bd7eab07575d254ee17c87b69da53e8d0be1d2c187d5e3acaf4565b33188 |