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.682.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66af18e0dfc8b05e515ba1233722d99edb2c0b9dea03e2feccc3916048a97533 |
|
MD5 | da26a7166fe579cb9c8b1eac257ca451 |
|
BLAKE2b-256 | 30af6243c61b11d37ef0e4dd985438984f54e61bd5be4e4d283ede2942dbc4e0 |
Close
Hashes for cdk_lambda_layer_curl-2.0.682-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29140d5e03d70e70ec03b4642c4957cfe7496a2f70b7fd15ccca34b1d93dca3d |
|
MD5 | 3a091dcb9811542074f10aa7e8d66728 |
|
BLAKE2b-256 | e1f3098137b20ce932e98c796f787a60861b82422d4373bb0bdfb88bce0ecfb0 |