Class: Aws::ServiceDiscovery::Types::UpdateInstanceCustomHealthStatusRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::ServiceDiscovery::Types::UpdateInstanceCustomHealthStatusRequest
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-servicediscovery/types.rb
Overview
Note:
When making an API call, you may pass UpdateInstanceCustomHealthStatusRequest data as a hash:
{
service_id: "ResourceId", # required
instance_id: "ResourceId", # required
status: "HEALTHY", # required, accepts HEALTHY, UNHEALTHY
}
Instance Attribute Summary collapse
-
#instance_id ⇒ String
The ID of the instance that you want to change the health status for.
-
#service_id ⇒ String
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
-
#status ⇒ String
The new status of the instance, ‘HEALTHY` or `UNHEALTHY`.
Instance Attribute Details
#instance_id ⇒ String
The ID of the instance that you want to change the health status for.
2666 2667 2668 2669 2670 2671 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2666 class UpdateInstanceCustomHealthStatusRequest < Struct.new( :service_id, :instance_id, :status) include Aws::Structure end |
#service_id ⇒ String
The ID of the service that includes the configuration for the custom health check that you want to change the status for.
2666 2667 2668 2669 2670 2671 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2666 class UpdateInstanceCustomHealthStatusRequest < Struct.new( :service_id, :instance_id, :status) include Aws::Structure end |
#status ⇒ String
The new status of the instance, ‘HEALTHY` or `UNHEALTHY`.
2666 2667 2668 2669 2670 2671 |
# File 'lib/aws-sdk-servicediscovery/types.rb', line 2666 class UpdateInstanceCustomHealthStatusRequest < Struct.new( :service_id, :instance_id, :status) include Aws::Structure end |