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.623.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0cbb21712ff2db493802855347003af8093ced8155148bf1e5fbecafb7461b |
|
MD5 | 66fd2e13efa304b484b579eb0b050302 |
|
BLAKE2b-256 | 48b7bdcd285bf8984f31b6824c1e157cf0ead711006884a7101f6a24de50fbc7 |
Close
Hashes for cdk_lambda_layer_curl-2.0.623-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 691bb4559e3494b4f7260498b78f3cb884225ac48e6d76232231949b5ac8d4e1 |
|
MD5 | 9453320379a43d04ee8761e703a6b6e5 |
|
BLAKE2b-256 | 10ee16fc9c9010e46913635bdc4857e533b0c98467b4ded8f1a98af508fe4810 |