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.559.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80f2eca9c45cfa2334f6484fd5d4dc3c294c8942b9f7fdb46893476c0766770c |
|
MD5 | 990258fd56ac6378270d0815a13e7c42 |
|
BLAKE2b-256 | 1a38451c0b89a7ff8015fe711e747f2a6e66f12be491c91ffd7bec1ad607230e |
Close
Hashes for cdk_lambda_layer_curl-1.0.559-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 436fe9994e0d06af989abfaa156906c0d625c8887d0e4fbf9cf894c4e58f73c8 |
|
MD5 | 082dbf68f12414032e5bd0099f27eedb |
|
BLAKE2b-256 | f1a14517beefb460f0708badf2bec62b22f0a98fc04b2f7b7e9f8dba34a81af2 |