Learn R Programming

paws.management (version 0.1.9)

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:

  • 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"
  )
)

Details

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 ResumeProcesses API.

Examples

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

Run the code above in your browser using DataLab