Struct aws_sdk_emr::model::ScalingRule
source · [−]#[non_exhaustive]pub struct ScalingRule {
pub name: Option<String>,
pub description: Option<String>,
pub action: Option<ScalingAction>,
pub trigger: Option<ScalingTrigger>,
}Expand description
A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how 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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
description: Option<String>A friendly, more verbose description of the automatic scaling rule.
action: Option<ScalingAction>The conditions that trigger an automatic scaling activity.
trigger: Option<ScalingTrigger>The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
Implementations
The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
A friendly, more verbose description of the automatic scaling rule.
The conditions that trigger an automatic scaling activity.
The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
Creates a new builder-style object to manufacture ScalingRule
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ScalingRule
impl Send for ScalingRule
impl Sync for ScalingRule
impl Unpin for ScalingRule
impl UnwindSafe for ScalingRule
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more