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.613.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d43b13ac586f0d1f7d1c1e03ba316d1419250b8d76784919c17c2c5c5b4908e |
|
MD5 | a272f18a6dc2a926e77f4d75da21089e |
|
BLAKE2b-256 | 1b05db7e16cb74baee74ba377c71b79506951d1ab56ccbb30cf66714761445a1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.613-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179f8a771fcd5a8ba736cea75b492c53ae8deaf8a74a6bc0c532636abebeccd1 |
|
MD5 | 588cae1ba7f4928a56e4be1fd7acc43c |
|
BLAKE2b-256 | 71a9bf2d461b1fc8e9c25b1ad6aaaa2605cd79b7cd29795c2b3cacaa2393b2f8 |