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-2.0.787.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f768ec9027f933147c83e14fde021a524d9623710aebd8ad293c717de0398c1 |
|
MD5 | 68c00147528cf787b7653f2f0547d2b9 |
|
BLAKE2b-256 | b9e37fdd4ab489eb52fc92abcef6db71470f44d0886b557c7ef9f1222523c5ee |
Close
Hashes for cdk_lambda_layer_curl-2.0.787-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5161e6e0bbb0a6a7909422d42af18d44e6797441bbd73cd300408d4bfe0b974 |
|
MD5 | ed48a6e1e33a4b5e6724e3aa00991173 |
|
BLAKE2b-256 | c914cc76dbc62c9f506d17a3726f728110b575d1ddf5e2b26788fabe308f03d4 |