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.592.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1aa00637c2b7afa199e1f301c2a4fbcdbb7ff412a2eb007a5e0ebed8f34899a |
|
MD5 | e4429f009b7175e9775c4e55ef74de62 |
|
BLAKE2b-256 | e9070d242d615e8f74031b9ade29427475e4a0aebacc485559bd6446a5135b39 |
Close
Hashes for cdk_lambda_layer_curl-2.0.592-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fb82aa462dc2c693b32278d196e4c38e2511baad5da2aaa6f4d8c702b1ecae7 |
|
MD5 | a06175d4fd5153169ec5cd67989fef36 |
|
BLAKE2b-256 | 2cb7bc88f2a046831464dd7337458ac8072afc957b83470e82b8373bab9cf21d |