Struct aws_sdk_emr::model::AutoScalingPolicyDescription [−][src]
#[non_exhaustive]pub struct AutoScalingPolicyDescription {
pub status: Option<AutoScalingPolicyStatus>,
pub constraints: Option<ScalingConstraints>,
pub rules: Option<Vec<ScalingRule>>,
}Expand description
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
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.status: Option<AutoScalingPolicyStatus>The status of an automatic scaling policy.
constraints: Option<ScalingConstraints>The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
rules: Option<Vec<ScalingRule>>The scale-in and scale-out rules that comprise the automatic scaling policy.
Implementations
Creates a new builder-style object to manufacture AutoScalingPolicyDescription
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 Send for AutoScalingPolicyDescription
impl Sync for AutoScalingPolicyDescription
impl Unpin for AutoScalingPolicyDescription
impl UnwindSafe for AutoScalingPolicyDescription
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