Todos os produtos
Search
Central de documentação

Resource Orchestration Service:DATASOURCE::FNF::Schedule

Última atualização: Jun 27, 2026

O DATASOURCE::FNF::Schedule consulta os detalhes de um agendamento baseado em tempo.

Sintaxe

{
  "Type": "DATASOURCE::FNF::Schedule",
  "Properties": {
    "FlowName": String,
    "ScheduleName": String,
    "RefreshOptions": String
  }
}

Propriedades

Propriedade

Tipo

Obrigatória

Editável

Descrição

Restrição

FlowName

String

Sim

Sim

Nome do fluxo associado ao agendamento.

Deve ser único na região. Não pode ser alterado após a criação do fluxo. O nome deve atender aos seguintes requisitos:

  • Pode conter letras, dígitos, sublinhados (_) e hifens (-).

  • Deve começar com uma letra ou sublinhado (_).

  • Diferencia maiúsculas de minúsculas.

  • Deve ter de 1 a 128 caracteres.

ScheduleName

String

Sim

Sim

Nome do agendamento baseado em tempo.

Nenhuma.

RefreshOptions

String

Não

Sim

Política de atualização dos recursos da source de dados durante atualizações da pilha.

Valores válidos:

  • Never (padrão): não atualiza os recursos da source de dados durante atualizações da pilha.

  • Always: atualiza os recursos da source de dados durante atualizações da pilha.

Valores de retorno

Fn::GetAtt

  • Description: descrição do agendamento.

  • CreateTime: hora de criação do agendamento.

  • LastModifiedTime: hora da última modificação do agendamento.

  • Payload: mensagem de acionamento do agendamento.

  • CronExpression: expressão CRON do agendamento.

  • ScheduleId: ID do agendamento.

  • ScheduleName: nome do agendamento.

Exemplos

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  FlowName:
    Type: String
    Description:
      en: |-
        The name of the flow that is associated with the time-based schedule. The name must be unique within the region and cannot be modified after the time-based schedule is created. The name must meet the following conventions:
        The name can contain letters, digits, underscores (_), and hyphens (-).
        The name must start with a letter or an underscore (_).
        The name is case-sensitive.
        The name must be 1 to 128 characters in length.
    Required: true
  ScheduleName:
    Type: String
    Description:
      en: |-
        The name of the time-based schedule. The name must meet the following conventions:
        The name can contain letters, digits, underscores (_), and hyphens (-).
        The name must start with a letter or an underscore (_).
        The name is case-sensitive.
        The name must be 1 to 128 characters in length.
    Required: true
Resources:
  ExtensionDataSource:
    Type: DATASOURCE::FNF::Schedule
    Properties:
      FlowName:
        Ref: FlowName
      ScheduleName:
        Ref: ScheduleName
Outputs:
  Description:
    Description: The description of the time-based schedule to be created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Description
  CreateTime:
    Description: The time when the time-based schedule was created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CreateTime
  LastModifiedTime:
    Description: The time when the time-based schedule was last updated.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - LastModifiedTime
  Payload:
    Description: The trigger message of the time-based schedule to be created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - Payload
  CronExpression:
    Description: The CRON expression of the time-based schedule to be created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - CronExpression
  ScheduleId:
    Description: The ID of the time-based schedule.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ScheduleId
  ScheduleName:
    Description: The name of the time-based schedule to be created.
    Value:
      Fn::GetAtt:
        - ExtensionDataSource
        - ScheduleName
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "FlowName": {
      "Type": "String",
      "Description": {
        "en": "The name of the flow that is associated with the time-based schedule. The name must be unique within the region and cannot be modified after the time-based schedule is created. The name must meet the following conventions:\nThe name can contain letters, digits, underscores (_), and hyphens (-).\nThe name must start with a letter or an underscore (_).\nThe name is case-sensitive.\nThe name must be 1 to 128 characters in length."
      },
      "Required": true
    },
    "ScheduleName": {
      "Type": "String",
      "Description": {
        "en": "The name of the time-based schedule. The name must meet the following conventions:\nThe name can contain letters, digits, underscores (_), and hyphens (-).\nThe name must start with a letter or an underscore (_).\nThe name is case-sensitive.\nThe name must be 1 to 128 characters in length."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionDataSource": {
      "Type": "DATASOURCE::FNF::Schedule",
      "Properties": {
        "FlowName": {
          "Ref": "FlowName"
        },
        "ScheduleName": {
          "Ref": "ScheduleName"
        }
      }
    }
  },
  "Outputs": {
    "Description": {
      "Description": "The description of the time-based schedule to be created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Description"
        ]
      }
    },
    "CreateTime": {
      "Description": "The time when the time-based schedule was created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CreateTime"
        ]
      }
    },
    "LastModifiedTime": {
      "Description": "The time when the time-based schedule was last updated.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "LastModifiedTime"
        ]
      }
    },
    "Payload": {
      "Description": "The trigger message of the time-based schedule to be created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "Payload"
        ]
      }
    },
    "CronExpression": {
      "Description": "The CRON expression of the time-based schedule to be created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "CronExpression"
        ]
      }
    },
    "ScheduleId": {
      "Description": "The ID of the time-based schedule.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ScheduleId"
        ]
      }
    },
    "ScheduleName": {
      "Description": "The name of the time-based schedule to be created.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionDataSource",
          "ScheduleName"
        ]
      }
    }
  }
}