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.753.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94295b4c7de4a80aa52f3174ab60086e56d539221a30e1ec8e1a7949ca9c4103 |
|
MD5 | 9ef34b1e72f1c2d9997bc6bac6d8976e |
|
BLAKE2b-256 | b33b44b915b9d9cd6141090df046131fc4dc1d73110efb0c1f7dbb996e156542 |
Close
Hashes for cdk_lambda_layer_curl-2.0.753-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc46997af2e80eb80d2cec0d6d66847c8a3107d0638a3401f18a4d22f5041875 |
|
MD5 | 07e0d59091a30d78ba35f0eedf915f15 |
|
BLAKE2b-256 | cc6babf64319fdcdfa26b76a546d5d57409d3ec5dfec693707bd0c15f01113d2 |