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.487.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd5cc82e322e8e628049700555cb9c14568e8f1c82ebd9cb2ab65d7ba07c0ccc |
|
MD5 | c890e7f25994c0ebaad89641a3c069c4 |
|
BLAKE2b-256 | 1187aaf8a0ec9dcd96ab4dd4c242e8cfc7500db11187e019a4a2fea3b2d3a2ae |
Close
Hashes for cdk_lambda_layer_curl-2.0.487-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a958741ebcb3b798b2fcb9083460117a4c21cdd3186460dfc172634b39b12757 |
|
MD5 | 91a6fd95b8ca1f4fafb2a85be618fbf2 |
|
BLAKE2b-256 | dbf85ad3387a1c428f0cd86e59a9b085478a31cf9cc5d9f161e639ddab26d676 |