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.376.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45ea75853c7df5af01f635542e19bd90a863d23a075385b8b78b7741dcaada97 |
|
MD5 | 55c349298b096b052b573f73dd8ad35f |
|
BLAKE2b-256 | c1d58ca0534db733b2abb9edcae057935912e954b299842f102c65608a75c6c8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.376-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e56d0313684e68fa4b315bb6fa1d8f9366c6544a8ca24d7465b3835da8e843 |
|
MD5 | 88948c83fe40b6613cbb05c7d0df8a1c |
|
BLAKE2b-256 | 97b974f576cdbb03e0ec41018cd42ff0a91ac01b031efd8c26074d3ba3d1d3fc |