Struct rusoto_emr::AutoScalingPolicyDescription [−][src]
pub struct AutoScalingPolicyDescription { pub constraints: Option<ScalingConstraints>, pub rules: Option<Vec<ScalingRule>>, pub status: Option<AutoScalingPolicyStatus>, }
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
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.
status: Option<AutoScalingPolicyStatus>
The status of an automatic scaling policy.
Trait Implementations
impl Default for AutoScalingPolicyDescription
[src]
impl Default for AutoScalingPolicyDescription
fn default() -> AutoScalingPolicyDescription
[src]
fn default() -> AutoScalingPolicyDescription
Returns the "default value" for a type. Read more
impl Debug for AutoScalingPolicyDescription
[src]
impl Debug for AutoScalingPolicyDescription
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AutoScalingPolicyDescription
[src]
impl Clone for AutoScalingPolicyDescription
fn clone(&self) -> AutoScalingPolicyDescription
[src]
fn clone(&self) -> AutoScalingPolicyDescription
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for AutoScalingPolicyDescription
[src]
impl PartialEq for AutoScalingPolicyDescription
fn eq(&self, other: &AutoScalingPolicyDescription) -> bool
[src]
fn eq(&self, other: &AutoScalingPolicyDescription) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AutoScalingPolicyDescription) -> bool
[src]
fn ne(&self, other: &AutoScalingPolicyDescription) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for AutoScalingPolicyDescription
impl Send for AutoScalingPolicyDescription
impl Sync for AutoScalingPolicyDescription
impl Sync for AutoScalingPolicyDescription