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

Class: Aws::OpsWorks::Types::SetTimeBasedAutoScalingRequest

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

Overview

Note:

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

{
  instance_id: "String", # required
  auto_scaling_schedule: {
    monday: {
      "Hour" => "Switch",
    },
    tuesday: {
      "Hour" => "Switch",
    },
    wednesday: {
      "Hour" => "Switch",
    },
    thursday: {
      "Hour" => "Switch",
    },
    friday: {
      "Hour" => "Switch",
    },
    saturday: {
      "Hour" => "Switch",
    },
    sunday: {
      "Hour" => "Switch",
    },
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#auto_scaling_scheduleTypes::WeeklyAutoScalingSchedule

An AutoScalingSchedule with the instance schedule.

Returns:

#instance_idString

The instance ID.

Returns:

  • (String)

    The instance ID.