Learn R Programming

paws.management (version 0.1.6)

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

Description

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

Usage

autoscaling_suspend_processes(AutoScalingGroupName, ScalingProcesses)

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

ScalingProcesses

One or more of the following processes. If you omit this parameter, all processes are specified.

  • Launch

  • Terminate

  • HealthCheck

  • ReplaceUnhealthy

  • AZRebalance

  • AlarmNotification

  • ScheduledActions

  • AddToLoadBalancer

Request syntax

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

Details

If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspending and Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.

Examples

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

Run the code above in your browser using DataLab