如何使用云形成模板安排AWS应用程序流
我已经使用云形成模板创建了AWS应用程序流,我想使用触发配置安排应用程序流。 我们如何使用Cloud Formation传递日期ScheduleStarttime?
错误我得到了
aws :: appflow :: Flow Create Flow请求失败: [时间表开始时间不能在过去。请更新时间表 将来开始一个值的时间。
我在云形成中使用的片段,
"TriggerConfig": {
"TriggerType": "Scheduled",
"TriggerProperties": {
"DataPullMode": "Incremental",
"ScheduleExpression": "rate(5minutes)",
"TimeZone": "America/New_York",
"ScheduleStartTime" : 4.05
}
}
I have created AWS App flow using cloud formation template and I want to schedule an app flow using Trigger Config.
How can we pass date ScheduleStartTime using cloud formation?
Error I'm getting
AWS::AppFlow::FlowCreate Flow request failed:
[Schedule start time cannot be in the past. Please update the schedule
start time to a value in future.
The snippet I'm using in cloud formation,
"TriggerConfig": {
"TriggerType": "Scheduled",
"TriggerProperties": {
"DataPullMode": "Incremental",
"ScheduleExpression": "rate(5minutes)",
"TimeZone": "America/New_York",
"ScheduleStartTime" : 4.05
}
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在开始时间使用Unix Timestamp。
请参阅以下链接以进行转换。
https://www.epochconverter.com/
Use Unix timestamp for start time.
Please refer to the below link for conversion.
https://www.epochconverter.com/
尝试Schedule Interval参数而不是ScheduleeXpression
try ScheduleInterval parameter instead of ScheduleExpression