计划的休息请求 [英] Scheduled rest requests from aws

查看:113
本文介绍了计划的休息请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要定期调用应用程序的某些端点.我知道我可以创建将由aws触发器触发的aws lambda函数,并且lambda将调用我的其余端点.可以在这里避免aws lambda吗? 换句话说,是否可以使aws触发器调用我的其余端点,而不是aws lambda函数?

I need to call some endpoint of my application periodically. I understand that i can create aws lambda function that will be triggered by aws trigger and that lambda will call my rest endpoint. Can aws lambda be avoided here? In other words, is it possible to make aws trigger to call my rest endpoint instead of aws lambda function?

推荐答案

可能触发REST端点的事物:

Things that could trigger a REST endpoint:

  • Amazon c2实例上的脚本/应用程序,由cron计划触发
  • 由Amazon CloudWatch Events计划触发的 AWS Lambda函数
  • 一个 Amazon Simple Notification Service(SNS)主题,您的REST终端节点为订阅者,由Amazon CloudWatch Events计划触发
  • A script/application on an Amazon EC2 instance, triggered by a cron schedule
  • An AWS Lambda function triggered by an Amazon CloudWatch Events schedule
  • An Amazon Simple Notification Service (SNS) topic with your REST endpoint as a subscriber, triggered by an Amazon CloudWatch Events schedule

对于SNS选项,您对呼叫的内容没有太大的控制权,但是它可以呼叫端点.

For the SNS option, you won't have much control over the content of the call but it can call an endpoint.

这篇关于计划的休息请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆