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.605.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10d6573a593933056acf51ebb7dfb9708278630e69d347b5cb71a1c8b387cf60 |
|
MD5 | 3fc22edbc8b89f0c7a9f94849919f72c |
|
BLAKE2b-256 | 865ffc6650f40d1d15f7aa8f8bcc55d36554da14279b6b211697ef17208b91eb |
Close
Hashes for cdk_lambda_layer_curl-2.0.605-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f22d89799e92758ebd0562769c101e9349e617b3c9a56aca9b6bfd382ae3824 |
|
MD5 | 225f1fd35416f598fb3754407793e129 |
|
BLAKE2b-256 | 86a9c5e4c9d0706a133e53f7d39cb20846d7a98266c586642040be467664352b |