opsworks_set_time_based_auto_scaling: Specify the time-based auto scaling configuration for a...

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

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

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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"
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.