AWS SDK for .NET Documentation
Instance Class
AmazonAmazon.AutoScaling.ModelInstance Did this page help you?   Yes   No    Tell us about it...

The Instance data type.

Declaration Syntax
C#
public class Instance
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Instance()()()()
Initializes a new instance of the Instance class

AvailabilityZone
Availability Zones associated with this instance.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
HealthStatus
The instance's health status.

Constraints:

Length
1 - 32
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


InstanceId
Specifies the ID of the Amazon EC2 instance.

Constraints:

Length
1 - 16
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


LaunchConfigurationName
The launch configuration associated with this instance.

Constraints:

Length
1 - 255
Pattern
[\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*


LifecycleState
Contains a description of the current lifecycle state.
Note:
The Quarantined lifecycle state is currently not used.

Constraints:

Allowed Values
Pending, Quarantined, InService, Terminating, Terminated


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAvailabilityZone(String) Obsolete.
Sets the AvailabilityZone property

WithHealthStatus(String) Obsolete.
Sets the HealthStatus property

WithInstanceId(String) Obsolete.
Sets the InstanceId property

WithLaunchConfigurationName(String) Obsolete.
Sets the LaunchConfigurationName property

WithLifecycleState(String) Obsolete.
Sets the LifecycleState property

Inheritance Hierarchy
Object
Instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)