pub struct StartInstanceRefreshType {
pub auto_scaling_group_name: String,
pub preferences: Option<RefreshPreferences>,
pub strategy: Option<String>,
}
Fields
auto_scaling_group_name: String
The name of the Auto Scaling group.
preferences: Option<RefreshPreferences>
Set of preferences associated with the instance refresh request.
If not provided, the default values are used. For MinHealthyPercentage
, the default value is 90
. For InstanceWarmup
, the default is to use the value specified for the health check grace period for the Auto Scaling group.
For more information, see RefreshPreferences in the Amazon EC2 Auto Scaling API Reference.
strategy: Option<String>
The strategy to use for the instance refresh. The only valid value is Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until all instances have been updated. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale in. If the rolling update process fails, any instances that were already replaced are not rolled back to their previous configuration.
Trait Implementations
sourceimpl Clone for StartInstanceRefreshType
impl Clone for StartInstanceRefreshType
sourcefn clone(&self) -> StartInstanceRefreshType
fn clone(&self) -> StartInstanceRefreshType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StartInstanceRefreshType
impl Debug for StartInstanceRefreshType
sourceimpl Default for StartInstanceRefreshType
impl Default for StartInstanceRefreshType
sourcefn default() -> StartInstanceRefreshType
fn default() -> StartInstanceRefreshType
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartInstanceRefreshType> for StartInstanceRefreshType
impl PartialEq<StartInstanceRefreshType> for StartInstanceRefreshType
sourcefn eq(&self, other: &StartInstanceRefreshType) -> bool
fn eq(&self, other: &StartInstanceRefreshType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartInstanceRefreshType) -> bool
fn ne(&self, other: &StartInstanceRefreshType) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartInstanceRefreshType
Auto Trait Implementations
impl RefUnwindSafe for StartInstanceRefreshType
impl Send for StartInstanceRefreshType
impl Sync for StartInstanceRefreshType
impl Unpin for StartInstanceRefreshType
impl UnwindSafe for StartInstanceRefreshType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more