Class: Aws::DevOpsAgent::Types::ScheduleSpec
- Inherits:
-
Struct
- Object
- Struct
- Aws::DevOpsAgent::Types::ScheduleSpec
- Defined in:
- gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb
Overview
Note:
ScheduleSpec is a union - when making an API calls you must set exactly one of the members.
Note:
ScheduleSpec is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ScheduleSpec corresponding to the set member.
Structured schedule specification. Select exactly one schedule form.
Defined Under Namespace
Classes: Cron, TimeRange, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#cron ⇒ Types::CronSchedule
Runs on an EventBridge cron or rate cadence.
-
#time_range ⇒ Types::TimeRangeSchedule
Runs within a recurring time-of-day window.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#cron ⇒ Types::CronSchedule
Runs on an EventBridge cron or rate cadence
5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5631 class ScheduleSpec < Struct.new( :cron, :time_range, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Cron < ScheduleSpec; end class TimeRange < ScheduleSpec; end class Unknown < ScheduleSpec; end end |
#time_range ⇒ Types::TimeRangeSchedule
Runs within a recurring time-of-day window
5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5631 class ScheduleSpec < Struct.new( :cron, :time_range, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Cron < ScheduleSpec; end class TimeRange < ScheduleSpec; end class Unknown < ScheduleSpec; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
5631 5632 5633 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5631 def unknown @unknown end |