Struct rusoto_autoscaling::Instance [−][src]
pub struct Instance { pub availability_zone: String, pub health_status: String, pub instance_id: String, pub launch_configuration_name: Option<String>, pub launch_template: Option<LaunchTemplateSpecification>, pub lifecycle_state: String, pub protected_from_scale_in: bool, }
Describes an EC2 instance.
Fields
availability_zone: String
The Availability Zone in which the instance is running.
health_status: String
The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it.
instance_id: String
The ID of the instance.
launch_configuration_name: Option<String>
The launch configuration associated with the instance.
launch_template: Option<LaunchTemplateSpecification>
The launch template for the instance.
lifecycle_state: String
A description of the current lifecycle state. Note that the Quarantined
state is not used.
protected_from_scale_in: bool
Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
Trait Implementations
impl Default for Instance
[src]
impl Default for Instance
impl Debug for Instance
[src]
impl Debug for Instance
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Instance
[src]
impl Clone for Instance
fn clone(&self) -> Instance
[src]
fn clone(&self) -> Instance
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Instance
[src]
impl PartialEq for Instance