amazon-web-services - 在CFT中,当TriggerType为Scheduled时,Appflow中的ScheduleStartTime的格式是什么

标签 amazon-web-services format aws-cloudformation scheduled-tasks amazon-appflow

我正在尝试通过 CFT 创建 Appflow,其中 TriggerType 已计划,但 ScheduleStartTime 出现以下错误: 资源处理程序返回消息:“提供的请求无效:AWS::AppFlow::FlowUpdate 流请求失败,原因是:[计划开始时间不能是过去的时间。请将计划开始时间更新为将来的值。]

这是 CFT 中 Appflow 的一部分:

rVeevaCrmLly1SentEmailAppflow1:
    Type: AWS::AppFlow::Flow
    Condition: CreateDev
    Properties:
        Description: edb-commercial-veeva-crm-lly1-sent-email update from S3 to Salesforce
        DestinationFlowConfigList:
          - ConnectorType: Salesforce
            ConnectorProfileName: !Ref pConnectorProfileLLY1
            DestinationConnectorProperties:
              Salesforce:
                ErrorHandlingConfig:
                  BucketName: !Ref pBucketName
                  BucketPrefix: Write-back-2/error/
                  FailOnFirstError: TRUE
                Object: Sent_Email_vod__c
                IdFieldNames: [Id]
                WriteOperationType: UPDATE
        FlowName: edb-commercial-veeva-crm-lly1-sent-email-update
        KMSArn: !Ref pKMSArn
        SourceFlowConfig:
          ConnectorType: S3
          SourceConnectorProperties:
            S3:
              BucketName: !Ref pBucketName
              BucketPrefix: !Ref pBucketPrefixCRM
        Tags:
          - Key: pApplicationCi
            Value: !Ref pApplicationCi
          - Key: pCostCenter
            Value: !Ref pCostCenter
          - Key: pCostCenterApprover
            Value: !Ref pCostCenterApprover
          - Key: pDataClassification
            Value: !Ref pDataClassification
          - Key: pHipaa
            Value: !Ref pHipaa
          - Key: pLevel1BusinessArea
            Value: !Ref pLevel1BusinessArea
          - Key: pOrg
            Value: LLY1
          - Key: pPrimaryItContact
            Value: !Ref pPrimaryItContact
          - Key: pSystemCustodian
            Value: !Ref pSystemCustodian
          - Key: pSystemOwner
            Value: !Ref pSystemOwner
        Tasks:
          - ConnectorOperator:
              S3: PROJECTION
            SourceFields:
              - Status_vod__c
              - Lilly_Reason_1__c
              - Lilly_Reason_2__c
              - Lilly_Reason_3__c
              - Lilly_Reason_4__c
              - Lilly_Reason_5__c
              - Lilly_Reason_6__c
              - Lilly_Reason_7__c
              - Lilly_Reason_8__c
              - Lilly_Reason_9__c
              - Lilly_Reason_10__c
              - Lilly_Rejected_Text_1__c
              - Lilly_Rejected_Text_2__c
              - Lilly_Rejected_Text_3__c
              - Lilly_Rejected_Text_4__c
              - Lilly_Rejected_Text_5__c
              - Lilly_Rejected_Text_6__c
              - Lilly_Rejected_Text_7__c
              - Lilly_Rejected_Text_8__c
              - Lilly_Rejected_Text_9__c
              - Lilly_Rejected_Text_10__c
              - Id
            TaskType: Filter
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Status_vod__c
            SourceFields:
              - Status_vod__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_1__c
            SourceFields:
              - Lilly_Reason_1__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_2__c
            SourceFields:
              - Lilly_Reason_2__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_3__c
            SourceFields:
              - Lilly_Reason_3__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_4__c
            SourceFields:
              - Lilly_Reason_4__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_5__c
            SourceFields:
              - Lilly_Reason_5__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_6__c
            SourceFields:
              - Lilly_Reason_6__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_7__c
            SourceFields:
              - Lilly_Reason_7__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_8__c
            SourceFields:
              - Lilly_Reason_8__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_9__c
            SourceFields:
              - Lilly_Reason_9__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Reason_10__c
            SourceFields:
              - Lilly_Reason_10__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_1__c
            SourceFields:
              - Lilly_Rejected_Text_1__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_2__c
            SourceFields:
              - Lilly_Rejected_Text_2__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_3__c
            SourceFields:
              - Lilly_Rejected_Text_3__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_4__c
            SourceFields:
              - Lilly_Rejected_Text_4__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_5__c
            SourceFields:
              - Lilly_Rejected_Text_5__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_6__c
            SourceFields:
              - Lilly_Rejected_Text_6__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_7__c
            SourceFields:
              - Lilly_Rejected_Text_7__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_8__c
            SourceFields:
              - Lilly_Rejected_Text_8__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_9__c
            SourceFields:
              - Lilly_Rejected_Text_9__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Lilly_Rejected_Text_10__c
            SourceFields:
              - Lilly_Rejected_Text_10__c
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: textarea
            TaskType: Map
          - ConnectorOperator:
              S3: NO_OP
            DestinationField: Id
            SourceFields:
              - Id
            TaskProperties:
              - Key: DESTINATION_DATA_TYPE
                Value: picklist
            TaskType: Map
        TriggerConfig:
          TriggerProperties:
                    DataPullMode: Incremental
                    #ScheduleEndTime: Double
                    ScheduleExpression: "rate(1days)"
                    #ScheduleOffset: Double
                    ScheduleStartTime: 12.30
                    #TimeZone: "America/New_York"
          TriggerType: Scheduled

最佳答案

给出日期和时间格式,如(DDMMYYYYHHMMSS)。例如,您希望在 2022 年 1 月 15 日开始,请给出预定的开始时间,例如:(150120221300)。

关于amazon-web-services - 在CFT中,当TriggerType为Scheduled时,Appflow中的ScheduleStartTime的格式是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70197615/

相关文章:

android - 为什么调用外部 java 函数会导致我的应用程序崩溃? (亚马逊 SNS、S3)

amazon-web-services - S3 存储桶能否生成自己的对象键名称?

JAVA,用String.format插入n次相同的变量

amazon-web-services - 从 CloudFormation 参数获取输入并将其传递给从 S3 下载的脚本

amazon-web-services - Cloudformation `StartingPositionTimestamp` 用于 Lambda/Kinesis 事件源映射

python - AWS : Lambda submits a Batch job via Python boto3 client but times out before receiving a response

amazon-web-services - 联合用户访问 AWS CodeCommit

Java 将字符串转换为 BigDecimal

java - 如果需要,将 Double 格式精确到小数点后 2 位

amazon-web-services - CloudFormation Fn::Transform 操作:较低 -> 语法错误