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.724.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3effb059f6867dc88d0b3d630acf07776a1c91845cd86007c001c8ae89d0931 |
|
MD5 | 1d0497c0eb03fa04879bfdd1a2ce16be |
|
BLAKE2b-256 | d779a8814de861e922d10e8309c576b5641db9b3edb838d68229c3022058e9be |
Close
Hashes for cdk_lambda_layer_curl-2.0.724-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebeff10b9c08f414bf4e618e0bec621cfad066e4315baed79c9c3769df4f607b |
|
MD5 | 0f31b9d308288f1dcc9a12880b9d292d |
|
BLAKE2b-256 | 0f37d867a3c2821e8a27e7448eca5026937f540ce2e40b8abcea03122fffb22c |