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.441.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cdf9c9ea88e130dbee7106cd8428c15e48951864a8e1bce6a748792c323539c |
|
MD5 | 5984c7dd96022b18994b8be30c71a88d |
|
BLAKE2b-256 | 6052ca6d6bd060b3ef7aecedbbafd8e993d558c55467f899f4622d584d272ac3 |
Close
Hashes for cdk_lambda_layer_curl-2.0.441-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed87ad509211dd5bff5c47d960dcad8fc15783c80d366505c2cc56552c44379a |
|
MD5 | 7dd123d135edf12f3640527d11512791 |
|
BLAKE2b-256 | 3bf7b82eabaa0eaa80472ad712e2d615b1b30010d75108bad43699eff55cc2d3 |