Struct rusoto_autoscaling::Instance
[−]
[src]
pub struct Instance { pub availability_zone: String, pub health_status: String, pub instance_id: String, pub launch_configuration_name: String, 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: String
The launch configuration associated with 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.