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.189.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd03cd62bd6891f7b4a977b0f7f1161f37ee2f21a9f5f9eb9ebbfda2b59d09c4 |
|
MD5 | e4c3a0a44d7842336079cb00f50c96da |
|
BLAKE2b-256 | a08469591dece7d56db68bb722a23cc22946a3d367044b54840d1a6992e3cbfe |
Close
Hashes for cdk_lambda_layer_curl-2.0.189-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aebdc4acc7173906421fb5ba4a63e440a6c6d49215229a577e288ce1e724adf |
|
MD5 | d0ec3f8fa1d90b386113138b9159ba4a |
|
BLAKE2b-256 | 2b3c82e768ab85f1dfa7537890a2bfb70a07955b26aca5706251bcf07d9e2031 |