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.752.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a029e3c8342897eb94895854c35ceb02ec9610dee98f59a5317c3541f6353c72 |
|
MD5 | 6d5398f81c444134a752cbf342207ba2 |
|
BLAKE2b-256 | ce6e43aea6e16c01dcdafefbed0b94f9ac88c37da87061d88276eb4c5da24adc |
Close
Hashes for cdk_lambda_layer_curl-2.0.752-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f89dfa26306a62480c8abcd39b48821a19b32daf70eae208c055c24cec36c54 |
|
MD5 | 69ea47629211b560878c205a50133920 |
|
BLAKE2b-256 | f8eed89bbeed99c58291a43d71c814978f2cb7f9375c82b6fba41148f77b2554 |