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
5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5560 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
5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5560 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
5560 5561 5562 |
# File 'gems/aws-sdk-devopsagent/lib/aws-sdk-devopsagent/types.rb', line 5560 def unknown @unknown end |