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.783.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3122647047dcb7801f8db39fab01c54bf620972836ad3ca8364311e409a4042b |
|
MD5 | 088a6b8ac6dc8d3ba88262aa5e5b543a |
|
BLAKE2b-256 | abb4a7ac4018567ab8022c6808d846f45aa3c173ad440bd020ff4428b8e4f2a2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.783-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72c1ad4b4f58613ca20bd6aef252787c8287c96af6fb8041a0adb128a5c8eeab |
|
MD5 | c6feb67105fca8d0ce5d3d6962b075fa |
|
BLAKE2b-256 | 92e9c695c1c576b7c6594c024b1f454b43bfbd96b0f6905a8c6854fff83135b0 |