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.389.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d10fa1bf4d43e614a488d7040c5f0922904f357e9c619d3a0fbfd37de7c14228 |
|
MD5 | 49534b10f2472dc2c08714998bd22c19 |
|
BLAKE2b-256 | 40417682d30c5d81789f8fb0128bc9d8402bd48f09e9b8174d41e7e3950d1f8f |
Close
Hashes for cdk_lambda_layer_curl-1.0.389-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a94759ffe75be5a415205bee0d788a71cc3e3e6e60b52599eb5236a3175ee6bf |
|
MD5 | ae2435f47e03ddd8d0e613ea75874eed |
|
BLAKE2b-256 | ed4e26ee73fecc29a7cd5e4b027c1ac513d2b6e07aca0f42526937ec17225a66 |