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.534.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | adf37316d737685a35336d33efd6024346acb5300858274bbef612b0f77d4754 |
|
MD5 | 74bbd05af8cf55840358cfd65d7a06f5 |
|
BLAKE2b-256 | 2b10476629b756f7e4b5143066b36bc197cc560e5556dddd8d13149d4d8e4a46 |
Close
Hashes for cdk_lambda_layer_curl-2.0.534-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7133af7639a12695aa9f79bf0c76d9bfb7ccbaff4a0882df34efd5f25b0579a2 |
|
MD5 | 95b51a7e1a6cce36bf9a912cd7acf208 |
|
BLAKE2b-256 | d111a9e1f6c17a004122a2576ef99dca70bab9a6de1e2643caf11dc52d28d4c8 |