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.501.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e993b900d007657e61368b8c70f114e4bb1189b09324b1b23eb260fea18f8bc1 |
|
MD5 | 69ceadea24bbae7fe75f49b5023ae018 |
|
BLAKE2b-256 | 9f18de1df0d52e570afee6d5c99673f7fb335a2fbb83b1f7f02211a81bbe29d6 |
Close
Hashes for cdk_lambda_layer_curl-2.0.501-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacfada83178b5f51e072aa8a4bd1a7dbf709983a0b27431f659b9c8aa989b02 |
|
MD5 | be2827a4ac66e7007e76fe2eeebb6c99 |
|
BLAKE2b-256 | e61ea713aea829d9c32585c0a8c16ddf4c1a2391609f058bdbf4b5f160dc63c8 |