ScalingRule

A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how Amazon EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The conditions that trigger an automatic scaling activity.

Link copied to clipboard

A friendly, more verbose description of the automatic scaling rule.

Link copied to clipboard
val name: String?

The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.

Link copied to clipboard

The CloudWatch alarm definition that determines when automatic scaling activity is triggered.

Functions

Link copied to clipboard
inline fun copy(block: ScalingRule.Builder.() -> Unit = {}): ScalingRule
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String