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.168.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0367f893db13df0882629aeb842bc4959fc5d89a189e0944deed7c8fb7e43394 |
|
MD5 | 35055a3e255d0ffad75748f1b60ac518 |
|
BLAKE2b-256 | 8abd6994e5da1989278f9ca8387dc6d2ae3a9a7e7c13ee326de60509334aac4e |
Close
Hashes for cdk_lambda_layer_curl-1.0.168-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e695337d8be681e34af52e3d59413b078d17d9d5cbfbd2ae9c64447c1093d3 |
|
MD5 | 07da0a7164c8325c116a60325971b4e1 |
|
BLAKE2b-256 | b87db8c4566596fec29ce8b69a27123c0768e62cb4b2a89c2b0362a555b82112 |