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.280.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc074a1824507c2177276787702f6f0482197d7f2ee07712588789203607d21 |
|
MD5 | 1b78c5a5dfd1db5975a3608462f46cb2 |
|
BLAKE2b-256 | d1af48abc99de41205ee76c37c6e71498624546726889953bcabde0ad69fab92 |
Close
Hashes for cdk_lambda_layer_curl-2.0.280-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd40ec4fd2eea4d609dc8eb57935c067cfac4d577a8f0de9ae8b4d050971f863 |
|
MD5 | 20d3d995063303a4b104f843bc426d37 |
|
BLAKE2b-256 | a3af11290306cd9e11ead8b1bcb65bfd931e3f4111e74c728d99267bcb68e594 |