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

Class: Aws::DLM::Types::Schedule

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

Overview

Note:

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

{
  name: "ScheduleName",
  tags_to_add: [
    {
      key: "String", # required
      value: "String", # required
    },
  ],
  create_rule: {
    interval: 1, # required
    interval_unit: "HOURS", # required, accepts HOURS
    times: ["Time"],
  },
  retain_rule: {
    count: 1, # required
  },
}

Specifies a schedule.

Instance Attribute Summary collapse

Instance Attribute Details

#create_ruleTypes::CreateRule

The create rule.

Returns:

#nameString

The name of the schedule.

Returns:

  • (String)

    The name of the schedule.

#retain_ruleTypes::RetainRule

The retain rule.

Returns:

#tags_to_addArray<Types::Tag>

The tags to add to policy-created resources. These tags are added in addition to the default lifecycle tags.

Returns:

  • (Array<Types::Tag>)

    The tags to add to policy-created resources.