すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ALIYUN::FNF::Schedule

最終更新日:Jan 16, 2025

ALIYUN::FNF::Schedule は、時間ベースのスケジュールを作成するために使用されます。

構文

{
  "Type": "ALIYUN::FNF::Schedule",
  "Properties": {
    "Description": String, // 説明
    "FlowName": String, // フロー名
    "Enable": Boolean, // 有効化
    "Payload": String, // ペイロード
    "CronExpression": String, // Cron式
    "ScheduleName": String // スケジュール名
  }
}

プロパティ

PropertyTypeRequiredEditableDescriptionConstraint
DescriptionStringNoYes時間ベースのスケジュールの説明。なし
FlowNameStringYesNo時間ベースのスケジュールにバインドされているフローの名前。なし
EnableBooleanNoYes時間ベースのスケジュールを有効にするかどうかを指定します。有効な値:
  • true
  • false
PayloadStringNoYes時間ベースのスケジュールのトリガーメッセージ。このパラメーターの値は JSON 形式である必要があります。例:"{\"key\": \"value\"}"
CronExpressionStringYesYes時間ベースのスケジュールの Cron 式。なし
ScheduleNameStringYesNo時間ベースのスケジュールの名前。なし

レスポンスパラメーター

Fn::GetAtt

  • FlowName: 時間ベースのスケジュールにバインドされているフローの名前。
  • ScheduleId: 時間ベースのスケジュールの ID。
  • ScheduleName: 時間ベースのスケジュールの名前。

  • YAML 形式

    ROSTemplateFormatVersion: '2015-09-01'
    Parameters: {}
    Resources:
      Schedule:
        Type: ALIYUN::FNF::Schedule
        Properties:
          FlowName: TestFlow
          Enable: false
          Payload: '{"key": "value"}'
          CronExpression: 0 0 10 1 * ?
          ScheduleName: TestSchedule
    Outputs: {}
  • JSON 形式

    {
      "ROSTemplateFormatVersion": "2015-09-01",
      "Parameters": {
      },
      "Resources": {
        "Schedule": {
          "Type": "ALIYUN::FNF::Schedule",
          "Properties": {
            "FlowName": "TestFlow",
            "Enable": false,
            "Payload": "{\"key\": \"value\"}",
            "CronExpression": "0 0 10 1 * ?",
            "ScheduleName": "TestSchedule"
          }
        }
      },
      "Outputs": {
      }
    }