[][src]Struct rusoto_autoscaling::Instance

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 that Amazon EC2 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. 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.

Trait Implementations

impl Clone for Instance[src]

impl Default for Instance[src]

impl PartialEq<Instance> for Instance[src]

impl Debug for Instance[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self