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.138.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b929492e35fac07b4569aa6618229a90f6b43a799e187f9945f8371e95e1ae89 |
|
MD5 | 7c76c44924a339e6e487d85c30b4b967 |
|
BLAKE2b-256 | d5a76e051a60b9d5f79d6893f65e8d8fd0a3cafb494f85f65bbbdac26a0c2e90 |
Close
Hashes for cdk_lambda_layer_curl-2.0.138-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0abcfff3b34ec8db09a5b7d655beffff5fa78a039809b7076cd7551d3e9559cb |
|
MD5 | 6c9a83976c4fac2b25032a6d06296316 |
|
BLAKE2b-256 | de322846faf3d5053783fc81f77b5c0325e80986afa6023b8d4507961c71d98f |