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.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2b14ec3d2d35b9c6a2acfeb6b3ddc96ee0e162115c87aef5b07737b020c4d3 |
|
MD5 | 1feb470cfb8c11481b563356bf1e68a1 |
|
BLAKE2b-256 | 277a99ec8f596ce6f85c30711faba9f1b62da5d8741bc08961cb4d76f195968e |
Close
Hashes for cdk_lambda_layer_curl-2.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479d024451ab840adcbefd0fd772c39d3c8f7b5957c38d68870a629450a79dc9 |
|
MD5 | cf2fb78a917ebc6d6cd8f974770c3814 |
|
BLAKE2b-256 | bdd9b4594c658266a6c03b3a24f6a35853ecf33760dd054dd1ce18249972ca98 |