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.40.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c396c9fea67bb07e9f007c7ca337b9f7e4c38bc264070d2e4f8fc5176b64f99 |
|
MD5 | a542db3b69acb45e247c64bcf163128f |
|
BLAKE2b-256 | 1ff60ab43c1b3f31f9895b9f25ebfcaa2c87cbe7220cbbdadc50c50501f9afa8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.40-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4faab80efb2a21cd7fa4813e626bcaddf7a7530128e4e1c5b14402d6f2662896 |
|
MD5 | aec7552a017118a60a16105063efcab6 |
|
BLAKE2b-256 | 70a25ccaf67370c1b6ca0634ae0a69d0b1b05f761f45bc8c30bb7540e574f8aa |