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.457.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e133e5f1e060177a733aba1a9395c737f3d35d13e2906eaef71a6302d49a4aa |
|
MD5 | 36b6744b4899a039413b5a3e6e648ec7 |
|
BLAKE2b-256 | d7c8d97367936376d1c5b067caa10bff781df027d76e19ef2aa62bf5f1e1d28d |
Close
Hashes for cdk_lambda_layer_curl-2.0.457-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9c75d1fccce4003efbf19d59a140c684f995a2cbee1737d5a51c0cfc99bf20f |
|
MD5 | 2e98bd75e4fe6ce838823015a2b9aa11 |
|
BLAKE2b-256 | fcfdd3916e511ad3d1f84d1d5dae6b7fee19338cb11922275fd8ffcd50a01618 |