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.111.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb748dd6350a77d248ed7ec298abdc2dfdfe30c945edeac87f422c240598c026 |
|
MD5 | 0e17976eb52517fac6097280fbe14783 |
|
BLAKE2b-256 | 83ab3f1e0ca52a635dee75357f03baf6bcf5961e28b2e37d9c3fb6f0c9bc4973 |
Close
Hashes for cdk_lambda_layer_curl-2.0.111-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c0909cd371588cc1fe108b4095f4b961a83a465705aa1ea800b01a272ed0ec1 |
|
MD5 | 2ad85a9d3f9d4c5f7f8159a98b444f48 |
|
BLAKE2b-256 | f6d14278a288bcf026b1013de38a163bb81f5bf97691ce2be62a4e20b07b53eb |