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.32.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb5b002b73181b5931739de532513283365e763764cac5c26b0daa9b4427152 |
|
MD5 | edc5cb17c5eb580b1beb4f491ae35bfd |
|
BLAKE2b-256 | a83cb0df22ddc11cc079b18a243cc12e07632753b6150379f6ba48e8b5fb6b85 |
Close
Hashes for cdk_lambda_layer_curl-1.0.32-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeb4179d6e81e029df25ff006eb803802293e6057d98971fcc35b738fced9f2c |
|
MD5 | d46d1e56afef511bf2f6dab1ef99b5c7 |
|
BLAKE2b-256 | 119d9c42e535b2713d733cb687a2c473e5bf987b27a99a02b185aa5e102003aa |