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.399.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94157ea3ac97572493a2396035d40f7efc3c5d3bc2986f0e9368765b0409410 |
|
MD5 | 109274f3c496664f8ad20b2a910ff8f9 |
|
BLAKE2b-256 | abd153dcfd1a483b26aa92b7d77b343ffec6f25219cb7c962bd3068bc8b71b45 |
Close
Hashes for cdk_lambda_layer_curl-1.0.399-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c23877325e13bbc9169847f9d92c61b09e48358c7c54c1ecfd15436b7ad8d0f0 |
|
MD5 | dcb8a4715ec726c6a5b8e731169ec466 |
|
BLAKE2b-256 | 81073484025922591ede64a304a5ae6fbc7afa6e80aa8dbc57a54eb32d394d55 |