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.26.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cac0eea7032411b7467d36419f4abb803c42d1d0292e6573eebe4c5a1da34bc2 |
|
MD5 | 526799d95c7282cec02db29a77887266 |
|
BLAKE2b-256 | cc956bc42fc3f4f5e80031d908ff1cfa5777f9ef50706a68e3aaea5d147a5440 |
Close
Hashes for cdk_lambda_layer_curl-2.0.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d8d973ca3869b9485f804ce5824ff15ad416f92a060b830859c37e57b8eb5f |
|
MD5 | 39294e62ea24689b6ec88505c8186f82 |
|
BLAKE2b-256 | 24b822b39095461b27be486ae879d8e690d1e0053ef3bfefae54553314c30a11 |