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.507.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6e0e5d4dd906fa64957c1a26f22d7197e1f2bf6507e9e2824ddbe45c334743f |
|
MD5 | b4bd4a71b0e24e6f8fd964c97d8ba869 |
|
BLAKE2b-256 | a45b734fe6e23e2091238eb94a6adf44a59668252f42f7d33f2227e4da1ea9ed |
Close
Hashes for cdk_lambda_layer_curl-1.0.507-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d97a3af5a3d9038adaa4521148674de22fad93f1784857bfe18439fb3753b57 |
|
MD5 | 0fa277e4fe4d55fe82683186f9655a2b |
|
BLAKE2b-256 | 501892611b6aea08199ef37929360b18b3ee81cd9bea69fa1936df2c015d3ae2 |