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.824.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a563d73650179ba84b1ac149aeb9b94adaf26961fda324516d5db6a728bbaa2a |
|
MD5 | c7599d5c02b97a1e3bb1875cb923e058 |
|
BLAKE2b-256 | 3aee789bf987d8116523e1097cc80d71ff29ed97082738c4bbd496ea9e760bd2 |
Close
Hashes for cdk_lambda_layer_curl-1.0.824-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc9820c8113bfd961729a1d43d5c681ce3c27d9622ecd2663f77da2d2c6efc04 |
|
MD5 | 87925404a3e912258e9579279c4aefa7 |
|
BLAKE2b-256 | 371a89ee4aa77d95e68f9a0c14334626eb62c73addce232552622027eb108c7e |