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.188.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7ada2cd2a18210fea11a2758b94235d298c1b7b6073ccaa29361ad92b7bc9d2 |
|
MD5 | 1ff50396ebb30dae5e0c75dd77217a4d |
|
BLAKE2b-256 | 4f15b609afe10873e67aef5e37d25ac6ac6a7f2707d5ad4801b4888023bf151c |
Close
Hashes for cdk_lambda_layer_curl-1.0.188-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d29ea4620aa83b65fd050eacbac0b48a89284b0441cdf203cbf65e33da3e88c |
|
MD5 | 1786af6ad8d4f8e2e9764df4469a15fe |
|
BLAKE2b-256 | f4648270d9852da8a86f04a40b6c722130a698e5b1ee71232eb47027c119cc59 |