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.603.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 255e53a06e7d5a62c76a2bf16a0d569e0a99116debb8f85e7c74ef151e47df00 |
|
MD5 | 42c8bc9a88dd8356feb58086a077301a |
|
BLAKE2b-256 | 60b7da782c0840b0475d91f4f8c23fa79f447508e10330dc09355eabc9abe199 |
Close
Hashes for cdk_lambda_layer_curl-1.0.603-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f001d8d1ed4ef7ac4400c1c97e20f21ba6b5e9137b619839366c08f9368832f1 |
|
MD5 | 63caddabfbc74ff6ecdf23d27f3145ba |
|
BLAKE2b-256 | f28d780fe722308078a18b6db6fea5ded9075758f5580293ed08b6c1cde6e369 |