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.309.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4bb8b268673e8a5ea3d0c195a2f5fbcba3668a3bb447f11d2139c3cbc6c6b90 |
|
MD5 | 8d9b3c0c2cd0f6637a62a4c9891ca4bc |
|
BLAKE2b-256 | 9e9e5049f0e7b31cfa6cea8c3f7c897e89137c1455df638af663048209bcb883 |
Close
Hashes for cdk_lambda_layer_curl-1.0.309-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed36f7b4d5addac19d477ea65fddfa4e0cf12869fca95d695352772a056e5571 |
|
MD5 | 4109ea790ed0a7bb851b303f70fc2567 |
|
BLAKE2b-256 | 9dc3df1daf4b2f8ddc08ec224ef7be0dff7a6e1aa32f0c0a26a2e5b260dd53c4 |