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.582.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d5d52225af3e36dfe4793e687d91459cadca41bd8855caa3bbc14599e7433d |
|
MD5 | 5b7cdc4bb0936dc33859038d04027339 |
|
BLAKE2b-256 | cf40b701e629b40c4d958fcd2032f071d6b9875a9cf1c9a1b77a9750ef757b60 |
Close
Hashes for cdk_lambda_layer_curl-1.0.582-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bce74c95523e7b566a15c8d6be7c2883f762f7b87d4f51f4172c7921eda3021 |
|
MD5 | 42315ffad3424d4766d2658f719f0b47 |
|
BLAKE2b-256 | 75d8f917db7ba322de3c5cdc50ce3c84f35971a13864ee47699f49c56c0fd8c7 |