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.133.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 374eec5e04a13f1fc98f0b9237428a6ce0c2fd50b4c38bc0bbaca7ae12451432 |
|
MD5 | 2ae27c83ea710ceac1e1bd794226358b |
|
BLAKE2b-256 | 0691c9128627996441b1913540797f8323be4233e34514695a91793fe9693e56 |
Close
Hashes for cdk_lambda_layer_curl-2.0.133-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4431611f185bb35d8a0244f1f73e3669558990fa57b8b9fd67d9df7097b5fb3f |
|
MD5 | e22ee02308cf7f3a7f65fe56ed6e09e1 |
|
BLAKE2b-256 | cad7aa4721fcd0b357ea90be8aa988adc9209dfa2c2eea23735f704c768f2d24 |