Class: Aws::DLM::Types::CreateRule

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#intervalInteger

The interval. The supported values are 12 and 24.

Returns:

  • (Integer)


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_unitString

The interval unit.

Returns:

  • (String)


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

#timesArray<String>

The time, in UTC, to start the operation.

The operation occurs within a one-hour window following the specified time.

Returns:

  • (Array<String>)


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