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.365.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 955f919464503030aea8b61e792ea7a1e928534f1d3fc1e5b5d44aa01459673e |
|
MD5 | fa2d4c1cec1e80c364ef627bd366c646 |
|
BLAKE2b-256 | 345059b0e87d943d0093f6b9d91b93365590e91e48d8a5c274c4d8b0a64b26df |
Close
Hashes for cdk_lambda_layer_curl-2.0.365-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7314c9e681d7d7ce6fa62c874c9b66087a46ae643066557c8221639d0606f715 |
|
MD5 | e6805c0a5daef706defff92ab0d15130 |
|
BLAKE2b-256 | f38befe8b3094b7cbf1f863ec70048714dea1e66eb4713353c29359f50186ab3 |