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.317.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2273a19268e9010d82ddf21394fc7e8794bfcaa73512f34b722a1a9e94fe9d43 |
|
MD5 | aeb75f074a756ec65ec22ed4d020d034 |
|
BLAKE2b-256 | 7f25a1ab8a0bb0792975888e2e7ea6265adb98adc4fafe2a4478418d19b52560 |
Close
Hashes for cdk_lambda_layer_curl-2.0.317-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4b2f679342636978a41d2ec8e311f3e97e14a7043743206a11b8485d4513070 |
|
MD5 | 618db696afa76075cf7b00f9ad139428 |
|
BLAKE2b-256 | dd0b5e5eabcbf7d110eb43288e6a531082fec1016ce60b994b451506b2331e11 |