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.136.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a3a25ea2eaa87bfb2a84e55873022e43535e5bb3b20d51776377bdaf8d1bb9 |
|
MD5 | aa4734627b700365b61def5cd716db03 |
|
BLAKE2b-256 | 0c4bdc6c1cb5573d338acb9a929cb1e18b4b8cac5eff0385f96cae118e7bbe69 |
Close
Hashes for cdk_lambda_layer_curl-2.0.136-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3aa192b6ad7eb878482718add8ff2eb54aa2b79459171819c08a8d266c3f942 |
|
MD5 | 4e8f0b4c43f03f393c6582d3d474ba37 |
|
BLAKE2b-256 | 2bf4b782e9712a75a7fe66410ee81d29150010502d669dd52f07e5ad6f3a4b42 |