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.795.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4afd94956148f53469348eace61a9cc54b24bbdcb672876f8cd17dace236c5f6 |
|
MD5 | 8b9ffae744398d82c70acc014449ccac |
|
BLAKE2b-256 | c58652949c76551d65f6a0cbe0039486adeea37e32e7af110aceb843a7898cae |
Close
Hashes for cdk_lambda_layer_curl-1.0.795-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4cc208c8c7ab91b0c05a3494b14aafae034001897776c2ed570a8d79f92a56 |
|
MD5 | 5b02b44e74bbce684b3bbf795a44e391 |
|
BLAKE2b-256 | 3e63b0b53622e67925d7848c1beb9987b8334ffb3d8d0510213e79e8a2ad3b6f |