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.609.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24f6b4ff1b58440094bc313eb21c02e2101e4b632ae68a5754f75e7ccb40bc75 |
|
MD5 | f2d7e40e25da23ba67d024e105780421 |
|
BLAKE2b-256 | 106ad2a1059c629f3bd9111b0c421453278b906b3202707ed1046ad0b03e1a09 |
Close
Hashes for cdk_lambda_layer_curl-1.0.609-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe75f085c2fed147f74ca3c626adabafa7499be46444db132160a44108667d0c |
|
MD5 | 842991967166a3b34a0769fdc3237ae1 |
|
BLAKE2b-256 | 870aad7fc617ecc8a5c8c56f280d7b355f114c8e59fde936184bc97e3e334e78 |