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.327.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6a4a50bb7539af3ea4d915c99d07279ba6aec0b1652aa3a88c941d0bd14ff39 |
|
MD5 | 944c7a4c613d07799ce072dd7084d74d |
|
BLAKE2b-256 | d44bd223adb78831e628fbe34b5b916ea6246e033a6fd0274736e12562877a8f |
Close
Hashes for cdk_lambda_layer_curl-1.0.327-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26463b45f74cdbb0a66a05d1b2589e5b4b4467f23aec7d445d570761db3c0681 |
|
MD5 | b24f5efb4d24a87bfbfb43bcc8645a2f |
|
BLAKE2b-256 | bfd3163a4ca8c8a30ac5cbf87c167f03656e7a3688e8c06b573ec32f9593a2c5 |