Criteria

class Criteria

A set of conditions that specify which recommended action qualify for implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time. You can specify up to 20 conditions per filter criteria and 20 values per condition.

Types

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

Properties

Link copied to clipboard

Filter criteria for EBS volume sizes in gibibytes (GiB).

Link copied to clipboard

Filter criteria for EBS volume types, such as gp2, gp3, io1, io2, st1, or sc1.

Link copied to clipboard

Filter criteria for estimated monthly cost savings from the recommended action.

Link copied to clipboard

Filter criteria for the lookback period in days used to analyze resource utilization.

Link copied to clipboard

Filter criteria for Amazon Web Services regions where resources must be located.

Link copied to clipboard

Filter criteria for specific resource ARNs to include or exclude.

Link copied to clipboard

Filter criteria for resource tags, allowing filtering by tag key and value combinations.

Link copied to clipboard

Filter criteria indicating whether the recommended action requires a resource restart.

Functions

Link copied to clipboard
inline fun copy(block: Criteria.Builder.() -> Unit = {}): Criteria
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