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.717.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e958f51ff9889ce2e792d9dc63651a27fb05d8548ac24978511fac00791bace |
|
MD5 | f6ada3e4d8374e0a7b011cf1db44e548 |
|
BLAKE2b-256 | 9d655e7c8a1c817b3c1d6b7b6c5517acb78d07b42a7643a3be5942729af46838 |
Close
Hashes for cdk_lambda_layer_curl-1.0.717-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cdd73ff9509b4f37010ad67e44a5a843bb2d3aa89a54808a381049614447c43 |
|
MD5 | ec9acb89565c3ed6a629bc44f9e84b5a |
|
BLAKE2b-256 | 5b50d71b6c66017c34d592f460f80942a6fc581c9b8d0ba143f296796bef6bfd |