Struct rusoto_autoscaling::SetInstanceHealthQuery
[−]
[src]
pub struct SetInstanceHealthQuery { pub health_status: String, pub instance_id: String, pub should_respect_grace_period: Option<bool>, }
Fields
health_status: String
The health status of the instance. Set to Healthy
if you want the instance to remain in service. Set to Unhealthy
if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.
instance_id: String
The ID of the instance.
should_respect_grace_period: Option<bool>
If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod
specified for the group, by default, this call will respect the grace period. Set this to False
, if you do not want the call to respect the grace period associated with the group.
For more information, see the description of the health check grace period for CreateAutoScalingGroup.
Trait Implementations
impl Default for SetInstanceHealthQuery
[src]
fn default() -> SetInstanceHealthQuery
Returns the "default value" for a type. Read more
impl Debug for SetInstanceHealthQuery
[src]
impl Clone for SetInstanceHealthQuery
[src]
fn clone(&self) -> SetInstanceHealthQuery
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more