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.482.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 523a23e3893c3c9581318f9a587aab29affa14be2e09a5fb9b05f4ef7303155e |
|
MD5 | e3fbe401c0e7dd65a3b7302a3f764172 |
|
BLAKE2b-256 | 3e349a2505e9d87feb64caabdc7cda29242c46ef68c3e0ee8796ed5dc8733fd2 |
Close
Hashes for cdk_lambda_layer_curl-2.0.482-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429813acf4275a4737818503fe87fa2efcf43acc95aa0a5aa1a1cc4cce5860f6 |
|
MD5 | 5eae05288c62cb189dcd843c4f0f7b31 |
|
BLAKE2b-256 | 3dd151e32bddadeea20cc49f00f126025238ad86f9c6a6d05886c692e0341228 |