Class: Aws::DLM::Types::CreateRule
- Inherits:
-
Struct
- Object
- Struct
- Aws::DLM::Types::CreateRule
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-dlm/types.rb
Overview
Note:
When making an API call, you may pass CreateRule data as a hash:
{
interval: 1, # required
interval_unit: "HOURS", # required, accepts HOURS
times: ["Time"],
}
Specifies when to create snapshots of EBS volumes.
Instance Attribute Summary collapse
-
#interval ⇒ Integer
The interval.
-
#interval_unit ⇒ String
The interval unit.
-
#times ⇒ Array<String>
The time, in UTC, to start the operation.
Instance Attribute Details
#interval ⇒ Integer
The interval. The supported values are 12 and 24.
117 118 119 120 121 122 |
# File 'lib/aws-sdk-dlm/types.rb', line 117 class CreateRule < Struct.new( :interval, :interval_unit, :times) include Aws::Structure end |
#interval_unit ⇒ String
The interval unit.
117 118 119 120 121 122 |
# File 'lib/aws-sdk-dlm/types.rb', line 117 class CreateRule < Struct.new( :interval, :interval_unit, :times) include Aws::Structure end |
#times ⇒ Array<String>
The time, in UTC, to start the operation.
The operation occurs within a one-hour window following the specified time.
117 118 119 120 121 122 |
# File 'lib/aws-sdk-dlm/types.rb', line 117 class CreateRule < Struct.new( :interval, :interval_unit, :times) include Aws::Structure end |