You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateRule as input to an Aws::Client method, you can use a vanilla Hash:

{
  interval: 1, # required
  interval_unit: "HOURS", # required, accepts HOURS
  times: ["Time"],
}

Specifies when to create snapshots of EBS volumes.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#intervalInteger

The interval. The supported values are 12 and 24.

Returns:

  • (Integer)

    The interval.

#interval_unitString

The interval unit.

Possible values:

  • HOURS

Returns:

  • (String)

    The interval unit.

#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>)

    The time, in UTC, to start the operation.