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.166.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22eddfddd32439b6e492fc31f545dc46b2eb0332e1bf3332c89a5bc098e9a7f3 |
|
MD5 | 55e0f43d71dcf5503b15efbc55e53f64 |
|
BLAKE2b-256 | 17d84dd1d6d8deba87029a1096692630ea0cf8f3a7a1f3deb1b5277646b0f238 |
Close
Hashes for cdk_lambda_layer_curl-2.0.166-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d6027794609c1ae6ef269af0e48cc87d4b2b6bca225ead4ab1c83a1c536ee12 |
|
MD5 | f561fef3dc0d308e77729e9f288f15e1 |
|
BLAKE2b-256 | c69901d25a269b40494f17509a40863939abf7f6726f7d1898684010f936e009 |