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.607.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cb2514ea5f0f99d7d0a12ee4d77725ff3329f04bd78d208339444dca54e7b61 |
|
MD5 | 25e3f700740b3b874177ab84577a9fd6 |
|
BLAKE2b-256 | 0f67f59f847d47a890ee5ca992af8e02cb1e3983228a988ddd69ff49cbc81116 |
Close
Hashes for cdk_lambda_layer_curl-2.0.607-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc10faac9e8704d2e27e71898cbbf7774a4e9311119942a7318ffe8fd142cc4 |
|
MD5 | baf88ebec50e46dd50d4ece12439575e |
|
BLAKE2b-256 | 82fbcc20519d9b4add502c0ae1238a29c38c6b04044da78ba45b8cfab284e0d4 |