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.367.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39d822aa187765c227d1d969295532ac4f88073e2f6644f076797b42c4d9950f |
|
MD5 | 822809a83dfa84afa26b35a1aaf5720d |
|
BLAKE2b-256 | 33c417e814a71563321518ffffa2ebfc9d8ec49e515f8bf1a1bfb84f095a725f |
Close
Hashes for cdk_lambda_layer_curl-2.0.367-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 547c0e57d2cf697f5195a4f6ef69c1ac98a0e547388dc45f0c2d36c8a0310abb |
|
MD5 | 05195f3e2fc481714b3281a146486da8 |
|
BLAKE2b-256 | cfbcb0b670d86431738001ecbb9039d22cc6fab09ace36a2ea34655f07d78de5 |