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.259.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 830e43cc3e2da69e04e12ec36887745100450173cc2537e5c28347629329f796 |
|
MD5 | fb632c9ef59ec9f9730c17a1439c9b3d |
|
BLAKE2b-256 | 01198e76b41f9a43821e7d9c32ee71bb90c07acd2d72ff287dcd93c6b71475b2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.259-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 446b1782bf5cfd68cbb1bab2df9489ba90cef50cc2b343ff0404323bf323e527 |
|
MD5 | 4dee7fe3968fcaf4b46427f0fd7c2a94 |
|
BLAKE2b-256 | 965cba171ac4d56a72e8087783d8242c86521fc6ff9752754ffac1c58d6693c8 |