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.69.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76eac18488261d9eb3d38102b60cd7e24906d06e05bdee2ebb56c2a45251685a |
|
MD5 | 9d2aa09bfe1d20a0e92cdd86a291ff1c |
|
BLAKE2b-256 | d3f39635f2f5283d70dc73cd081c4c4e8fa7e13a5f409cd39c8bf41629294760 |
Close
Hashes for cdk_lambda_layer_curl-1.0.69-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08fc4113ed615e056e1b3b0be64971c15d6ace3258ac53ad7107385b14d82ab6 |
|
MD5 | 6d0577c95527ce4f9c9231767f4a3376 |
|
BLAKE2b-256 | 7e12b3aab37459ea22faf80ce7d2f0ff4e5e8331349e64451f0653b8fe3edf2b |