AWSAutoScalingSetInstanceHealthQuery
Objective-C
@interface AWSAutoScalingSetInstanceHealthQuery
Swift
class AWSAutoScalingSetInstanceHealthQuery
-
The health status of the instance. Set to
Healthy
to have the instance remain in service. Set toUnhealthy
to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.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 }
-
If the Auto Scaling group of the specified instance has a
HealthCheckGracePeriod
specified for the group, by default, this call respects the grace period. Set this toFalse
, to have the call not respect the grace period associated with the group.For more information about the health check grace period, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable shouldRespectGracePeriod;
Swift
var shouldRespectGracePeriod: NSNumber? { get set }