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.635.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c14cc8734ccfaa7d6f68490be8ea107957d82b6338dfb38303dda93c53ebc66c |
|
MD5 | 5c376ec662ea9a212946d650a5b00d8b |
|
BLAKE2b-256 | bd69cf9ffc43366bb052a5c8281e02140067e48d98536becb328837e39c647d9 |
Close
Hashes for cdk_lambda_layer_curl-1.0.635-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b475ff0471a669611f41c1a013e930a70a2f97ff9253480c51996910e568463 |
|
MD5 | 980ad50861ca850575ac26a91bddd85b |
|
BLAKE2b-256 | c9c8f978e85ca24818e820a5a2251d3b0815b54412b0797656de6026d3222602 |