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.680.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ba2ecaa07ac7b33de34fcee816098017f8912f4c0e6cafcf236cf4988a8dbf5 |
|
MD5 | f00ee8a0e3788e1815445acdca792673 |
|
BLAKE2b-256 | 04df77fa0ce740c9c97568935d38a66b4d049bf92b76ce59282a56734a708555 |
Close
Hashes for cdk_lambda_layer_curl-2.0.680-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf2ed402fe3fe5e96addbd337c10b7d7be81524ead6faa538e208a26d6d61ff7 |
|
MD5 | d011e6a86a8cbbae0f370f114270794c |
|
BLAKE2b-256 | 16e606efcf9b72887b942b61fa62046ccac17800fe22091776cbf4a4c23511bc |