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.196.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc4026424f77957ea2dfbeccf7f1820335a4d498f9acf80110c0d29206c8cfa2 |
|
MD5 | 5e6be925e2d0bd3b8d831632bf848edf |
|
BLAKE2b-256 | 803e998f124884246d9331580d9139da0ac3ddc25628c17be97bb1ab0eac434f |
Close
Hashes for cdk_lambda_layer_curl-2.0.196-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c58b7878f0b2f13c97e2b2d5b65fca8b8c46017ead2f766d7ea78d2b621bfbc5 |
|
MD5 | 18605d2e0a565cdb673d7d9cb5da7f3c |
|
BLAKE2b-256 | 7c9204504fe20e52138eb94700f6de760f96b39df89970498968d779e7bcab13 |