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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b693f81ae166221842adb4a364f80b8012cf011b870217baccec09a3efdce719 |
|
MD5 | f70ae2431a59689f141490628f7cc838 |
|
BLAKE2b-256 | 8aff6dcd632c7543be2865d62a6928264172457b43c8df687707ff688366ce0b |
Close
Hashes for cdk_lambda_layer_curl-2.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d514b74c495de8da5c735d06fd8a46ab2d597283e2e85a32936cd814e27ff44 |
|
MD5 | 9a5cb858f3e1fa1e3a6466af663142e2 |
|
BLAKE2b-256 | f630623c3ad8a80a22ad2d04e8c333f6b0e33ecb1c1a1bdd7e227462368b76c7 |