Skip to content

Batch Put Scheduled Update Group Action

autoscaling_batch_put_scheduled_update_group_action R Documentation

Creates or updates one or more scheduled scaling actions for an Auto Scaling group

Description

Creates or updates one or more scheduled scaling actions for an Auto Scaling group.

Usage

autoscaling_batch_put_scheduled_update_group_action(
  AutoScalingGroupName, ScheduledUpdateGroupActions)

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

ScheduledUpdateGroupActions

[required] One or more scheduled actions. The maximum number allowed is 50.

Value

A list with the following syntax:

list(
  FailedScheduledUpdateGroupActions = list(
    list(
      ScheduledActionName = "string",
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

svc$batch_put_scheduled_update_group_action(
  AutoScalingGroupName = "string",
  ScheduledUpdateGroupActions = list(
    list(
      ScheduledActionName = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      Recurrence = "string",
      MinSize = 123,
      MaxSize = 123,
      DesiredCapacity = 123,
      TimeZone = "string"
    )
  )
)