Struct aws_sdk_emr::model::InstanceResizePolicy [−][src]
#[non_exhaustive]pub struct InstanceResizePolicy {
pub instances_to_terminate: Option<Vec<String>>,
pub instances_to_protect: Option<Vec<String>>,
pub instance_termination_timeout: Option<i32>,
}Expand description
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
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.instances_to_terminate: Option<Vec<String>>Specific list of instances to be terminated when shrinking an instance group.
instances_to_protect: Option<Vec<String>>Specific list of instances to be protected when shrinking an instance group.
instance_termination_timeout: Option<i32>Decommissioning timeout override for the specific list of instances to be terminated.
Implementations
Creates a new builder-style object to manufacture InstanceResizePolicy
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 InstanceResizePolicy
impl Send for InstanceResizePolicy
impl Sync for InstanceResizePolicy
impl Unpin for InstanceResizePolicy
impl UnwindSafe for InstanceResizePolicy
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