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.311.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55ab11220f8123f24b163cb95e52b37a745c12c90346fcb8fcd8767295a5aec |
|
MD5 | cd780bf185bc414d9f0785b0d5cf5c53 |
|
BLAKE2b-256 | 77b7277cd63027bb4f2756ec89b72779fd943dfc2e85fad21e81e84b5ce707a9 |
Close
Hashes for cdk_lambda_layer_curl-2.0.311-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073a03333de968c5ea37cdbd3b3b73c5c3daac229bfae51a1b24f03328fa24f2 |
|
MD5 | 9d7848b70f986a2b06ed7b3bc37cfc9d |
|
BLAKE2b-256 | 7cdbfde46d06a5b8b07a1bf943523d8a337ae2a8cd123b7cf25625ab8c34e420 |