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.80.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6940525841070beca21e4a85fca52cdcd3ac8258b40bfc023007ed60a7b3851d |
|
MD5 | 2c0dac39809586b4cd7b02caf00cc299 |
|
BLAKE2b-256 | 2c8191500be48adbe5b3cf55a7c1265228c2b1194d541904abf73baac8588ac9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.80-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b2ab6d25e84db58613d35b67048aa39bb2dc41889ace83b9641b60ba77178d |
|
MD5 | 8a982d4684c3893397ee7adfa01172e4 |
|
BLAKE2b-256 | 9c9805d6747679b5b97bebb0cc3e5e86557bcecf0230c541ffed79fd91f2797b |