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.271.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a870968f5c921ff98cc720cd185618269587f6df284140bf5338d48977cbb68 |
|
MD5 | 83b6b8cef2a28754742b7ebf2a353c87 |
|
BLAKE2b-256 | 8d01ad6224cf70c472beea83599749d0f71513fd5b3ac27ec024a54ce006eff8 |
Close
Hashes for cdk_lambda_layer_curl-2.0.271-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c99e038f207698a2701b9279c659627044bf78812605132f0f09ca41f9cce0f1 |
|
MD5 | 1ace4d39e90b0a237022ea43721f961c |
|
BLAKE2b-256 | b0f483b1a97795e399fa34ab483ae9f583cec46fc2f7117c1fcffa358c12ceb3 |