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.614.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44e0e7cef3cf033bf2fcd0b7327a2bc907580dddce611965369330984ad04a74 |
|
MD5 | ea9109726fd1fb357522cb305b3dc6bb |
|
BLAKE2b-256 | d9fff2f4ebdb444f5bc2b564ea0fc5344a8743bd90502d29ffc28f49e6c9b314 |
Close
Hashes for cdk_lambda_layer_curl-2.0.614-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 707bac667f0bb09df33d3682600f3851dae71056207ac767e2209a0525f46790 |
|
MD5 | f08a47f87d2e0559979d07cd9e11c84f |
|
BLAKE2b-256 | 262bfb9e351cf1caf5a4d5a0b917b2f6d8b2916dc113a20bf2f48a1df147f8e7 |