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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f620a6afb64b765c319996b13c8293a3087202a7134006356abdd243fca3fbe |
|
MD5 | 5f912deb51497760e4566ac99279180e |
|
BLAKE2b-256 | ebf3d14b31364e3fed7cb8f278636e185ce37e473ac1a72415a2f26887f0e841 |
Close
Hashes for cdk_lambda_layer_curl-2.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de0156ae66a357cd6eadddb7d71cd23ff08d20720800371cd735ea6285b00f1 |
|
MD5 | 337276cab72b5b110f61890371f6ae27 |
|
BLAKE2b-256 | ce17dae670ca628484d63d28f3b1fbc208497322328286331f93db95973258fb |