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.722.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c03a7a1fb3ed62f9b999678ae00ec990d32c6164b68f30a0fb48855ab04dbf78 |
|
MD5 | acec8c7a1afb276d1d5bbd45d2514f2a |
|
BLAKE2b-256 | 2a8bcda45981acf0b68f8a0e6b452e1a25eda5649334a01070a4ced34d2a281c |
Close
Hashes for cdk_lambda_layer_curl-2.0.722-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe38cd29f9b593f133f85dfc244331185d1960633227dbf70b313fb1a1314560 |
|
MD5 | 95196c2767cecf8a57b166f49d693db2 |
|
BLAKE2b-256 | 85596e6aa99e8456717796269739b1569094ffa064c60f2b0c3c53ac83990a04 |