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.268.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aac3ebc39ec3586fb773c79f785e6d0ba8b3ca9fe999e4166c6cf301287b133 |
|
MD5 | 287aabe414c7ed9d07528c5a51dcd192 |
|
BLAKE2b-256 | 1c955d49a4b366309bb432986dd42305d7fa5efa233dd3aae530611b124afd78 |
Close
Hashes for cdk_lambda_layer_curl-1.0.268-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 585d2dd15f6cb3e7ba1c562c4ea94e53fa2042a3723dda58a1e5cff9c21b1ff5 |
|
MD5 | a7676078f2e14ffe83defa33c4071823 |
|
BLAKE2b-256 | 02630954ae32db18ba5087e96d3e86614264f29525e64687b392a739b18c1eaf |