Struct aws_sdk_emr::model::ManagedScalingPolicy
source · #[non_exhaustive]pub struct ManagedScalingPolicy { /* private fields */ }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.
Implementations§
source§impl ManagedScalingPolicy
impl ManagedScalingPolicy
sourcepub fn compute_limits(&self) -> Option<&ComputeLimits>
pub fn compute_limits(&self) -> Option<&ComputeLimits>
The 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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more