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.131.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9286e6242ae0526ce9d51cbf29ffbbd4b4720e7abbe036d94d629a18837dacc9 |
|
MD5 | a0d655af56707fbb300675f177b27545 |
|
BLAKE2b-256 | 6d095b72fe84ea250029bf48e97b5ba7adb5c8d5bdde0364b40dd33c0d9bb1c5 |
Close
Hashes for cdk_lambda_layer_curl-2.0.131-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 191e0e6f55e0373d8c5f0529ac3c70437df94e99b7fecd5fdff7b82359ac6f42 |
|
MD5 | 048507829fb8da79909bc474323b13ed |
|
BLAKE2b-256 | a6c0500ebcae63b3d8f942356ab7863ebfd0ad893b0b1e8c74115af084125395 |