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-1.0.140.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a07e192c2e370ace614f4bd806c04fb297f6997fa22d78af726f6f3e430d77f |
|
MD5 | fa2225c7549b83e593180044c5a360a3 |
|
BLAKE2b-256 | 6bf57297f7d2ee3c57a59e00de55c7aab7eda8466c5fd1f97b11db479b10bba7 |
Close
Hashes for cdk_lambda_layer_curl-1.0.140-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c45bb9d062635ad01e0d84e2fe9f9bc8dbcfbd234fa343674d987a6d9fccfe57 |
|
MD5 | 0591e6eca311be2d9b295e84dbd90ed4 |
|
BLAKE2b-256 | aa0715eae345e0e976414b111c99363c903b185331d958dc50eae89b645fa02f |