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.698.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9863aed08592545844fb30fa8a164b88f1bd03bcb16624f0397e1488daec6cf6 |
|
MD5 | ae387199099a74ba482498f6a82b0b72 |
|
BLAKE2b-256 | 6084e5830341d9aa5a6c867159e3523797aef5865ee7aa0f447ac876b0dfe786 |
Close
Hashes for cdk_lambda_layer_curl-1.0.698-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01ea1f186029944db70fcefb8f75c33a10227fbc27781f9eff64173021443fd2 |
|
MD5 | 9308244b8822aca64f622b74cf7e10fe |
|
BLAKE2b-256 | 9258d3708791bab459443340083694973ccac5cb807d93baa62a680e22a6c251 |