Struct aws_sdk_emr::model::ShrinkPolicy [−][src]
#[non_exhaustive]pub struct ShrinkPolicy {
pub decommission_timeout: Option<i32>,
pub instance_resize_policy: Option<InstanceResizePolicy>,
}Expand description
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
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.decommission_timeout: Option<i32>The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
instance_resize_policy: Option<InstanceResizePolicy>Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
Implementations
Creates a new builder-style object to manufacture ShrinkPolicy
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 ShrinkPolicy
impl Send for ShrinkPolicy
impl Sync for ShrinkPolicy
impl Unpin for ShrinkPolicy
impl UnwindSafe for ShrinkPolicy
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