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.586.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e093edbe559353b3da810ada3e0621985a6ac56b930b8c26f8055ab6c7b1bb44 |
|
MD5 | 7b06ba9c0948db402d664fba674898b3 |
|
BLAKE2b-256 | 55949a5bba2b93074b38cee77680cb35c15281563c7e3c741369b9588e3958d6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.586-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a70b2e43a5a8422b0f0e6c9b33f73ddb65e47800653c872b2093eeabf44d9d9 |
|
MD5 | e17ee1427b5cab3bce6e56ddf69ff83f |
|
BLAKE2b-256 | 068c1b56f78f99c51d84c361fd6c71b5e9209fe377cbc9de70d2f0678f1add06 |