Instance
public struct Instance : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Availability Zone in which the instance is running.
Declaration
Swift
public let availabilityZone: 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.
Declaration
Swift
public let healthStatus: String
-
The ID of the instance.
Declaration
Swift
public let instanceId: String
-
The instance type of the EC2 instance.
Declaration
Swift
public let instanceType: String?
-
The launch configuration associated with the instance.
Declaration
Swift
public let launchConfigurationName: String?
-
The launch template for the instance.
Declaration
Swift
public let launchTemplate: LaunchTemplateSpecification?
-
A description of the current lifecycle state. The Quarantined state is not used.
Declaration
Swift
public let lifecycleState: LifecycleState
-
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
Declaration
Swift
public let protectedFromScaleIn: Bool
-
The number of capacity units contributed by the instance based on its instance type. Valid Range: Minimum value of 1. Maximum value of 999.
Declaration
Swift
public let weightedCapacity: String?
-
init(availabilityZone:healthStatus:instanceId:instanceType:launchConfigurationName:launchTemplate:lifecycleState:protectedFromScaleIn:weightedCapacity:)
Undocumented
Declaration
Swift
public init(availabilityZone: String, healthStatus: String, instanceId: String, instanceType: String? = nil, launchConfigurationName: String? = nil, launchTemplate: LaunchTemplateSpecification? = nil, lifecycleState: LifecycleState, protectedFromScaleIn: Bool, weightedCapacity: String? = nil)