AWSAutoScalingSetInstanceHealthQuery Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSAutoScalingModel.h
AWSAutoScalingModel.m

Overview

Contains the parameters for SetInstanceHealth.

Required parameters: [InstanceId, HealthStatus]

  healthStatus

The health status of the instance. Set to Healthy if you want the instance to remain in service. Set to Unhealthy if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.

@property (nonatomic, strong) NSString *healthStatus

Declared In

AWSAutoScalingModel.h

  instanceId

The ID of the instance.

@property (nonatomic, strong) NSString *instanceId

Declared In

AWSAutoScalingModel.h

  shouldRespectGracePeriod

If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call will respect the grace period. Set this to False, if you do not want the call to respect the grace period associated with the group.

For more information, see the description of the health check grace period for CreateAutoScalingGroup.

@property (nonatomic, strong) NSNumber *shouldRespectGracePeriod

Declared In

AWSAutoScalingModel.h