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.379.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7de92b7f410d3afb7b8fde0d093b2be0351ae914342aa8407460f35111dd71f |
|
MD5 | 855d6bc76c2c1245752c12a31e846541 |
|
BLAKE2b-256 | 044867ebe5b1b43e67049adcb8969cd1bca591696c29cb6584599e1e9b542165 |
Close
Hashes for cdk_lambda_layer_curl-1.0.379-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756096973d35a96834d1bf4001f1248c661d17e2d392c8c10fc11c2e7c679ae1 |
|
MD5 | 9b11043456c13288cc5587137035dfa3 |
|
BLAKE2b-256 | dbe926df3eeb9b8ffe8521c073b7d7e9d2940d25ba86df86631394d9e09336d4 |