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.738.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76aab99a0573d31d14cc5d48ff3d8b78c386b7c95e27a90e83013be6e7788910 |
|
MD5 | 3a96f1694144055b82ea8d405f9a589b |
|
BLAKE2b-256 | ab779e673f402adfe3f33506d41a5ca89fa1f9ffb0f277784e4daf9483b41405 |
Close
Hashes for cdk_lambda_layer_curl-2.0.738-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 031cd7eae504fdc5645d8dbe5b5afeedec10a7623a75b2de8e654430bc5902b4 |
|
MD5 | 48acfca5887b039f1fc5a077f10c7e6f |
|
BLAKE2b-256 | ee2d8f4608dc231a5473603d4fba9034dba429056a1d1213079cfc860478fde0 |