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.390.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae34b36f19ee0cac0e6d1ea7b803201087a12db3eabe79932386b22fdf0f1465 |
|
MD5 | eac14a070e4cc0b4b8e5a4b404f33782 |
|
BLAKE2b-256 | 4376cc533c7cec7b3ebcf218b50d286e5b64fe2cfd62d6e09b867d69d280c50a |
Close
Hashes for cdk_lambda_layer_curl-1.0.390-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd497d70e662930acc9d752d973af459442cd40ff19ebb56abe6f6283ebaa05 |
|
MD5 | 19ffd3c8be2e8c99983026e31970736c |
|
BLAKE2b-256 | d485837f00219cbb4e81dace5cd8c574959562c59c59da619bb878866201fbde |