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.763.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a64f6b619c066676b0cd7eb3a332f28807164ee683bd543ad46d62cb4f2000dc |
|
MD5 | 9ee017d37375306a471de53f7b812d21 |
|
BLAKE2b-256 | 7e5f2f80d2567e79869be5c078d5ca05bef0ec676a7a09fb0086da614fcfba3c |
Close
Hashes for cdk_lambda_layer_curl-2.0.763-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab0e6c5c0b207b3eb4834f51201807b9f894194d6c3ce85e6d76ebd3fb8cda9 |
|
MD5 | fbe31359dd61c50413fc87edc7f869ab |
|
BLAKE2b-256 | 580877966969c7ba6a88068baa2c21c658f63bbda5f8d07b2b2597adfbccb68e |