AutoScalingInstanceDetails

public struct AutoScalingInstanceDetails : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the Auto Scaling group for the instance.

    Declaration

    Swift

    public let autoScalingGroupName: String
  • The Availability Zone for the instance.

    Declaration

    Swift

    public let availabilityZone: String
  • The last reported health status of this instance. “Healthy” means that the instance is healthy and should remain in service. “Unhealthy” means that the instance is unhealthy and 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 used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

    Declaration

    Swift

    public let launchConfigurationName: String?
  • The launch template for the instance.

    Declaration

    Swift

    public let launchTemplate: LaunchTemplateSpecification?
  • The lifecycle state for the instance.

    Declaration

    Swift

    public let lifecycleState: String
  • 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?
  • Undocumented

    Declaration

    Swift

    public init(autoScalingGroupName: String, availabilityZone: String, healthStatus: String, instanceId: String, instanceType: String? = nil, launchConfigurationName: String? = nil, launchTemplate: LaunchTemplateSpecification? = nil, lifecycleState: String, protectedFromScaleIn: Bool, weightedCapacity: String? = nil)