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.829.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8c111b1d89683a04a8d8d5c676af7866a86b32f8c7a557ade0f0ce1f01fcc29 |
|
MD5 | 5a1be3be097a5fec128a29e23fe6d3d4 |
|
BLAKE2b-256 | 8aae86499503ffdb6cea2d21e92127503118f1b3290f952734933ea6661de8f0 |
Close
Hashes for cdk_lambda_layer_curl-1.0.829-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c504532c34302fd8e305548482f977cf708112593baf3fedd9e5d7ac5c80ae |
|
MD5 | eb0918dc476821c307edb47295800bf3 |
|
BLAKE2b-256 | 015c0bd7a02135ac85bcfbbd93e2b7a07379658a266f9b602bdda32735049466 |