Struct aws_sdk_emr::types::ManagedScalingPolicy
source · #[non_exhaustive]pub struct ManagedScalingPolicy {
pub compute_limits: Option<ComputeLimits>,
}
Expand description
Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
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.compute_limits: Option<ComputeLimits>
The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Implementations§
source§impl ManagedScalingPolicy
impl ManagedScalingPolicy
sourcepub fn compute_limits(&self) -> Option<&ComputeLimits>
pub fn compute_limits(&self) -> Option<&ComputeLimits>
The Amazon EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
source§impl ManagedScalingPolicy
impl ManagedScalingPolicy
sourcepub fn builder() -> ManagedScalingPolicyBuilder
pub fn builder() -> ManagedScalingPolicyBuilder
Creates a new builder-style object to manufacture ManagedScalingPolicy
.
Trait Implementations§
source§impl Clone for ManagedScalingPolicy
impl Clone for ManagedScalingPolicy
source§fn clone(&self) -> ManagedScalingPolicy
fn clone(&self) -> ManagedScalingPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ManagedScalingPolicy
impl Debug for ManagedScalingPolicy
source§impl PartialEq for ManagedScalingPolicy
impl PartialEq for ManagedScalingPolicy
source§fn eq(&self, other: &ManagedScalingPolicy) -> bool
fn eq(&self, other: &ManagedScalingPolicy) -> bool
self
and other
values to be equal, and is used
by ==
.