autoscaling_suspend_processes: Suspends the specified auto scaling processes, or all...

Description Usage Arguments Value Request syntax Examples

View source: R/autoscaling_operations.R

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

1
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.

Value

An empty list.

Request syntax

1
2
3
4
5
6
svc$suspend_processes(
  AutoScalingGroupName = "string",
  ScalingProcesses = list(
    "string"
  )
)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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"
  )
)

## End(Not run)

paws.management documentation built on March 8, 2021, 1:07 a.m.