Class: Aws::ApplicationSignals::Types::CalendarInterval
- Inherits:
-
Struct
- Object
- Struct
- Aws::ApplicationSignals::Types::CalendarInterval
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-applicationsignals/types.rb
Overview
If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#duration ⇒ Integer
Specifies the duration of each calendar interval.
-
#duration_unit ⇒ String
Specifies the calendar interval unit.
-
#start_time ⇒ Time
The date and time when you want the first interval to start.
Instance Attribute Details
#duration ⇒ Integer
Specifies the duration of each calendar interval. For example, if ‘Duration` is `1` and `DurationUnit` is `MONTH`, each interval is one month, aligned with the calendar.
128 129 130 131 132 133 134 |
# File 'lib/aws-sdk-applicationsignals/types.rb', line 128 class CalendarInterval < Struct.new( :start_time, :duration_unit, :duration) SENSITIVE = [] include Aws::Structure end |
#duration_unit ⇒ String
Specifies the calendar interval unit.
128 129 130 131 132 133 134 |
# File 'lib/aws-sdk-applicationsignals/types.rb', line 128 class CalendarInterval < Struct.new( :start_time, :duration_unit, :duration) SENSITIVE = [] include Aws::Structure end |
#start_time ⇒ Time
The date and time when you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: ‘1698778057`
As soon as one calendar interval ends, another automatically begins.
128 129 130 131 132 133 134 |
# File 'lib/aws-sdk-applicationsignals/types.rb', line 128 class CalendarInterval < Struct.new( :start_time, :duration_unit, :duration) SENSITIVE = [] include Aws::Structure end |