AWSAutoScalingAutoScalingInstanceDetails

Objective-C

@interface AWSAutoScalingAutoScalingInstanceDetails

Swift

class AWSAutoScalingAutoScalingInstanceDetails

Describes an EC2 instance associated with an Auto Scaling group.

Required parameters: [InstanceId, AutoScalingGroupName, AvailabilityZone, LifecycleState, HealthStatus, ProtectedFromScaleIn]

  • The name of the Auto Scaling group for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable autoScalingGroupName;

    Swift

    var autoScalingGroupName: String? { get set }
  • The Availability Zone for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable availabilityZone;

    Swift

    var availabilityZone: String? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable healthStatus;

    Swift

    var healthStatus: String? { get set }
  • The ID of the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceId;

    Swift

    var instanceId: String? { get set }
  • The instance type of the EC2 instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable instanceType;

    Swift

    var instanceType: String? { get set }
  • The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable launchConfigurationName;

    Swift

    var launchConfigurationName: String? { get set }
  • The launch template for the instance.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSAutoScalingLaunchTemplateSpecification *_Nullable launchTemplate;

    Swift

    var launchTemplate: AWSAutoScalingLaunchTemplateSpecification? { get set }
  • The lifecycle state for the instance. The Quarantined state is not used. For more information, see Amazon EC2 Auto Scaling instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable lifecycleState;

    Swift

    var lifecycleState: String? { get set }
  • Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable protectedFromScaleIn;

    Swift

    var protectedFromScaleIn: NSNumber? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable weightedCapacity;

    Swift

    var weightedCapacity: String? { get set }