Queries time-based schedules in CloudFlow.
Syntax
{
"Type": "DATASOURCE::FNF::Schedules",
"Properties": {
"FlowName": String,
"RefreshOptions": String
}
}
Properties
|
Property |
Type |
Required |
Editable |
Description |
Constraint |
|
FlowName |
String |
Yes |
Yes |
The name of the flow associated with the time-based schedules. |
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:
|
|
RefreshOptions |
String |
No |
Yes |
The refresh policy for data source resources when the stack is updated. |
Valid values:
|
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 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 trigger message 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
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Resources:
ExtensionDataSource:
Properties:
FlowName: Test
Type: DATASOURCE::FNF::Schedules
Outputs:
ScheduleNames:
Description: The list of schedule names.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ScheduleNames
Schedules:
Description: The queried time-based schedules.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Schedules{
"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"
]
}
}
}
}