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.77.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26b84319509058ce2c720595092f1c573b078d002f19af2204df21121bee739 |
|
MD5 | 78c436f3fc4bf9763044345144031d3c |
|
BLAKE2b-256 | ce9dabeb8774b703298965ec1fd2d6560ca06568a6676ba6d503d4aecf6778c1 |
Close
Hashes for cdk_lambda_layer_curl-1.0.77-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b3540c9beea1637452a352fe23da4aaf0a9014677dd1444021f6416c4f7c07 |
|
MD5 | bedd9f1d777ea6f7196cd9b7a499dc97 |
|
BLAKE2b-256 | bf49f0cb4a7e447f3dc589b880713d476e768504a78b92cae4fdaea12a8422cf |