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.184.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55799e50bbfb5c037d18fcd7b9c13ee72969d8cf0e1abb8b66743bfe691f4efe |
|
MD5 | 74c5574380b075599f5a4891b55aea87 |
|
BLAKE2b-256 | b795d9fe8494954e87cf96a54d9472ca846b5ab8964bb8c513c611530a37ed01 |
Close
Hashes for cdk_lambda_layer_curl-1.0.184-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d5cb4544eab4cd30cccfbad8f207d04021dbe94f13d096390c224bdc1d7919f |
|
MD5 | 81320e8e01928273433f0b1ea69cf793 |
|
BLAKE2b-256 | b7f291c6a7a20e4d4541158e42bea721dcfd591459d3f81600e9c70b2429c70b |