gpt4 book ai didi

amazon-web-services - 如何使用 Cloudformation 模板安排 AWS 应用程序流程

转载 作者:行者123 更新时间:2023-12-03 07:39:52 25 4
gpt4 key购买 nike

我已使用云形成模板创建了 AWS 应用程序流,并且我想使用触发器配置来安排应用程序流。我们如何使用云形成来传递日期 ScheduleStartTime?

我收到错误

AWS::AppFlow::FlowCreate Flow request failed:[Schedule start time cannot be in the past. Please update the schedulestart time to a value in future.

我在云形成中使用的片段,

"TriggerConfig": {
"TriggerType": "Scheduled",
"TriggerProperties": {
"DataPullMode": "Incremental",
"ScheduleExpression": "rate(5minutes)",
"TimeZone": "America/New_York",
"ScheduleStartTime" : 4.05
}
}

最佳答案

TriggerConfig:
TriggerType: Scheduled
TriggerProperties:
DataPullMode: Incremental
ScheduleExpression: rate(1days)
ScheduleStartTime: 1652970600

使用 Unix 时间戳作为开始时间。
请引用以下链接进行转换。
https://www.epochconverter.com/

关于amazon-web-services - 如何使用 Cloudformation 模板安排 AWS 应用程序流程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71978894/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com