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.745.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7abfe20e95c1ba4e7ebe80399839abc60c846c90828a0fd40a825f0d60a322c0 |
|
MD5 | 72b70d2552c9904a870275bd9437265f |
|
BLAKE2b-256 | 3b31165a6e9a8257928ece0cdc468f81f388923454d5376305b6f5c76586790a |
Close
Hashes for cdk_lambda_layer_curl-1.0.745-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41276b10c06966beb3d154c60375a9081439e1108c9e11ade679792f528207d3 |
|
MD5 | f09e63a37ea834d225c3a5180445103a |
|
BLAKE2b-256 | 9e0f2231b12c0c21b2138333e546d2a68fd83b503e97e77ec8673d6d24a13f76 |