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.560.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63db38cc0ee5b4398cfdef764d3a4a721eaaed428eccf221aab2ea64a67c67e1 |
|
MD5 | 5e6f0bdf58581020c50f3b942f6ddd7f |
|
BLAKE2b-256 | 95ebd89b2d297a3ac6c7f1ffe84d5b89b1ca130112355b1bbe45b0e92393c61c |
Close
Hashes for cdk_lambda_layer_curl-2.0.560-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aea38402baf19a44ea13798e266b2ab7cc9de325d6623f514e46ec498464a92c |
|
MD5 | 40a4def74629daef3d485104e21b86fc |
|
BLAKE2b-256 | e700feca97b36f3503c96822db06db79d58d4480eabfa0336996af235a953bff |