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.675.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025be96eda2d73919da0256eb08b6c41a6ed9e094d0957211ce8febb2d4864c7 |
|
MD5 | be86c9c8ab289c8aba5018d2a4bb4170 |
|
BLAKE2b-256 | 0687532ddf1771c8a016bebebb6514fef411f7fac5c1ecbdadd81f93a86081a5 |
Close
Hashes for cdk_lambda_layer_curl-1.0.675-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90f57cb3c79ab54653ff4f8b44312ed5157ad97509a1b16abe7ffc1cd8c2397 |
|
MD5 | 074f05ab4df1e718cd614629f8d991ba |
|
BLAKE2b-256 | 7f5df421019d9a65740608803099335521fe73621d192855d698c604d336c6a4 |