[−][src]Struct rusoto_autoscaling::Instance
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 that Amazon EC2 Auto Scaling should terminate and replace it.
instance_id: String
The ID of the instance.
instance_type: Option<String>
The instance type of the EC2 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. The Quarantined
state is not used.
protected_from_scale_in: bool
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
weighted_capacity: Option<String>
The number of capacity units contributed by the instance based on its instance type.
Valid Range: Minimum value of 1. Maximum value of 999.
Trait Implementations
impl Clone for Instance
[src]
impl Debug for Instance
[src]
impl Default for Instance
[src]
impl PartialEq<Instance> for Instance
[src]
impl StructuralPartialEq for Instance
[src]
Auto Trait Implementations
impl RefUnwindSafe for Instance
[src]
impl Send for Instance
[src]
impl Sync for Instance
[src]
impl Unpin for Instance
[src]
impl UnwindSafe for Instance
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,