DATASOURCE::FNF::Schedules is used to query time-based schedules.
Syntax
{
"Type": "DATASOURCE::FNF::Schedules",
"Properties": {
"FlowName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
FlowName | String | Yes | Yes | The name of the flow that is associated with the time-based schedule. | The name is unique in a region and cannot be changed after the time-based schedule is created. The name must meet the following requirements:
|
Return values
Fn::GetAtt
- Schedules: details of the time-based schedules.
- ScheduleNames: the names of the time-based schedules.
Property | Type | Description | Constraint |
---|---|---|---|
ScheduleNames | List | The names of the time-based schedules. | None. |
Schedules | List | Details of the time-based schedules. | None. |
Status | Boolean | Indicates whether the time-based schedule feature is enabled. | Valid values:
|
ScheduleId | String | The ID of the time-based schedule. | None. |
Description | String | The description of the time-based schedule. | None. |
Payload | String | The payload of the time-based schedule. | None. |
CronExpression | String | The CRON expression. | None. |
ScheduleName | String | The name of the time-based schedule. | None. |
LastModifiedTime | String | The time when the time-based schedule was last modified. | None. |
CreateTime | String | The time when the time-based schedule was created. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::FNF::Schedules", "Properties": { "FlowName": "Test" } } }, "Outputs": { "Schedules": { "Description": "The queried time-based schedules.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Schedules" ] } }, "ScheduleNames": { "Description": "The list of schedule names.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "ScheduleNames" ] } } } }