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.308.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82e455b5b7fa70f7961f81e605b3d40549dbf750f9e01502949dd8e2609a3545 |
|
MD5 | 9160c44cdef959b7a443417123119ebf |
|
BLAKE2b-256 | 0378e8ba4bd7443f990319ddf3ea2e402ab75a1f2267d59348d5d28c04abe9bc |
Close
Hashes for cdk_lambda_layer_curl-2.0.308-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6efa3f00afd0286e17eec98de152513a8908db14a30530d8f68930da14f4bb8 |
|
MD5 | 7a4aeb07405aa68e606546d77f3096f9 |
|
BLAKE2b-256 | 490fa41420df8e18b24e5a6f53aa47e95fc953f3c69b5a3586aa3cb32e2af764 |