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.289.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8b4110ae5e8f245ca6be62fc711abdffe2ef74c7ca4b377fc1d177644fd35bf |
|
MD5 | 21f8f4e2e3d38108d395e1c0eabbe9d8 |
|
BLAKE2b-256 | fcd91b01508dea22e31e1c8d36d99e00b6f896093fd2d0e2e1bc40fb742a6972 |
Close
Hashes for cdk_lambda_layer_curl-1.0.289-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cb4d2ad74bed9cacf0e2970da1009e053543791447634a3ed8236446be5b8bd |
|
MD5 | dd0ea96b39e52aaa4cf59b3734afd795 |
|
BLAKE2b-256 | 1434e1d4fdb0db079b5f1ef02045aa86c2702fb2eb196a5300f27b8c9452824c |