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-1.0.803.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24548f6f1f79082921d4f41aba3d525a5ee0bb30500af1a2f4cb355ea3d22c03 |
|
MD5 | 0fe4eed7555fd39aec9f0bd76185b952 |
|
BLAKE2b-256 | d5d6fa431514408717053b6d61fc68813434ccefec35daeccb903ca36b25ea54 |
Close
Hashes for cdk_lambda_layer_curl-1.0.803-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 017616970d47b8db62cea97e791cf8d2431e117aeaf49b8958553d459ca04999 |
|
MD5 | 1b5888e5926ff1ceb7abc4d5d25e89be |
|
BLAKE2b-256 | a8b90eb344f8014710f51e9530000caefd6417fe39406679ef55ebb7259d288e |