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.79.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9500189fe229ba12de95b2ce65ca0e55d4428088531b1fab4f06a01235da929 |
|
MD5 | 92e0460d7f140a2b9ad55a3b8b1c4065 |
|
BLAKE2b-256 | e72bd796349e7aa60f7116e9ba23c0a7d0166d5eec74ad45c68de67819319134 |
Close
Hashes for cdk_lambda_layer_curl-1.0.79-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9bd691149bfcad599e774399a247e839dc788e2eeab0d26ca00189d8524042 |
|
MD5 | e9672f11f358c7f8be584d2d8f44738e |
|
BLAKE2b-256 | a645376c7bdd81b4d6e9d841b84bb0855b648db4532d8e6050fff2a2eb158097 |