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.801.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83db5860805a46825aa5c4b7d8ceaf61403902682d835dcc98968a325f663ff2 |
|
MD5 | c4071f1266846361975e134f06235817 |
|
BLAKE2b-256 | 0591c9fd173d6bd46b2c16f8be582fb87a3a9710a46aa2fa040619122ee17cf4 |
Close
Hashes for cdk_lambda_layer_curl-1.0.801-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5cd3182fe73ff1bb4e2b7f0465dd41bd0e55af2000460af898fa8b7fe4ce2876 |
|
MD5 | 229bcc849d43871b914388960b8fb8f2 |
|
BLAKE2b-256 | 51a38fbed28fd4e001ed1be0115f8408cebe2c80e483bae02bb38a45cd2837b3 |