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.228.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bd07de1caf838ecd7c4420ea2684c5fd322f44af0ec3c8fb460a6aba2b35361 |
|
MD5 | 39a406b47537f8bc6c06de04b445b853 |
|
BLAKE2b-256 | 77af24e85c69b2151283fdd203b4287c631f40a9859eea84968b884d74b589bb |
Close
Hashes for cdk_lambda_layer_curl-2.0.228-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2e684894c464ee436baf9824736cce2c2b78b1bf9d2c7b6bc3e68de277c5b9d |
|
MD5 | 14a2167d01e93a4aff96744ec19ebcf8 |
|
BLAKE2b-256 | a89eb0f823cf0f4e13e6fe0bdfe052dd4debab3d54a57f3c51094b786ab820f9 |