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.549.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51ee41ecfba50dd9ad90aa50ea518fb52e989d6529d287960cf70125970c3dfd |
|
MD5 | 64fff61aba4d91064d4ceb0a5eb89442 |
|
BLAKE2b-256 | e65a723636c2cf835639df847b117cc22923f3891d63b6b4c520096d121cdfed |
Close
Hashes for cdk_lambda_layer_curl-2.0.549-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 890d7d9fe48a08b2044dac202dd4dbf13800e5ef0aba1910a9f70c07b3d8d4a6 |
|
MD5 | 7fdce50192fe98587bc208608228887d |
|
BLAKE2b-256 | c7149e51afcf3b3e9a13e4e618ac34263023af5b5e6afedd69c86b8c1a0be7fb |