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.730.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e62ec97ac8ae72ce229283e5929d13be625e2087b83bd5f365f73e064cd4926 |
|
MD5 | c017ab3599157371f9997ca0e6bcd698 |
|
BLAKE2b-256 | c9dc020930da2e9881955e5725fe46c51bd8f36f306a3395c818a93c59d2fb49 |
Close
Hashes for cdk_lambda_layer_curl-1.0.730-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65228eb105667a3b5553023e48106627e24db2aad05f61801382db8e92aad118 |
|
MD5 | 57b10ed69efd7284e2badc0617a09ee9 |
|
BLAKE2b-256 | a0d4a32b5d48c9932bf2585efade99e9e21b19ad549ba141571eba56540a4e6d |