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.690.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ca4051c044904f8537ac11196ee6eaa8ff871c9ce5d1b8e83da20f25b5b6d2 |
|
MD5 | 9c4ec9dcb857ba0f8cc176e85b9ffb83 |
|
BLAKE2b-256 | fee5c0c0fc2cc715962c698c79e72caae4fcd1eb00a43bb16882b5f1bb80b9be |
Close
Hashes for cdk_lambda_layer_curl-2.0.690-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8be2aa2fcda51d43cc3f376ef10b37a687147a8a2191070c68723351d3844cae |
|
MD5 | 174daedad8ed8383cb243ac8baaf9a0c |
|
BLAKE2b-256 | 9d5e40d99ecd37efd330288c1eb6d3b517a9c60dca59690654b7d06ce14c5fe3 |