Learn R Programming

paws.management (version 0.1.12)

autoscaling_suspend_processes: Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group

Description

Suspends the specified auto scaling processes, or all processes, for the specified Auto Scaling group.

If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

To resume processes that have been suspended, call the resume_processes API.

Usage

autoscaling_suspend_processes(AutoScalingGroupName, ScalingProcesses)

Value

An empty list.

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

ScalingProcesses

One or more of the following processes:

  • Launch

  • Terminate

  • AddToLoadBalancer

  • AlarmNotification

  • AZRebalance

  • HealthCheck

  • InstanceRefresh

  • ReplaceUnhealthy

  • ScheduledActions

If you omit this parameter, all processes are specified.

Request syntax

svc$suspend_processes(
  AutoScalingGroupName = "string",
  ScalingProcesses = list(
    "string"
  )
)

Examples

Run this code
if (FALSE) {
# This example suspends the specified scaling process for the specified
# Auto Scaling group.
svc$suspend_processes(
  AutoScalingGroupName = "my-auto-scaling-group",
  ScalingProcesses = list(
    "AlarmNotification"
  )
)
}

Run the code above in your browser using DataLab