Skip to content

Set Time Based Auto Scaling

opsworks_set_time_based_auto_scaling R Documentation

Specify the time-based auto scaling configuration for a specified instance

Description

Specify the time-based auto scaling configuration for a specified instance. For more information, see Managing Load with Time-based and Load-based Instances.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Usage

opsworks_set_time_based_auto_scaling(InstanceId, AutoScalingSchedule)

Arguments

InstanceId

[required] The instance ID.

AutoScalingSchedule

An AutoScalingSchedule with the instance schedule.

Value

An empty list.

Request syntax

svc$set_time_based_auto_scaling(
  InstanceId = "string",
  AutoScalingSchedule = list(
    Monday = list(
      "string"
    ),
    Tuesday = list(
      "string"
    ),
    Wednesday = list(
      "string"
    ),
    Thursday = list(
      "string"
    ),
    Friday = list(
      "string"
    ),
    Saturday = list(
      "string"
    ),
    Sunday = list(
      "string"
    )
  )
)