[][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.


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 PartialEq<Instance> for Instance[src]

impl Default for Instance[src]

impl Clone for Instance[src]

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl Debug for Instance[src]

Auto Trait Implementations

impl Send for Instance

impl Sync for Instance

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self