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.343.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63538f1038826acb332ad68d1a6f108f328d2c6fe626868a144097c5b8286a23 |
|
MD5 | 4dac48ee917990970879f495610916b3 |
|
BLAKE2b-256 | 339d55d6e0f38c2c933880b5b78f99c860eeb41b0d05b7bc6bd54f6ef4233e67 |
Close
Hashes for cdk_lambda_layer_curl-1.0.343-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca3387cf9cc2d1f126df14e9966a195a1076c8d323fd4e9a87198f4a3f6d22a6 |
|
MD5 | 572bb85a314b94a1ede3ae88f9b8f43d |
|
BLAKE2b-256 | 3b6899370968600f9a79d3dbcfbc84740a598f1677d781478f10aeea38dfda3d |