Class: Aws::ServiceDiscovery::Types::UpdateInstanceCustomHealthStatusRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-servicediscovery/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The ID of the instance that you want to change the health status for.

Returns:

  • (String)


3198
3199
3200
3201
3202
3203
3204
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3198

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#service_idString

The ID of the service that includes the configuration for the custom health check that you want to change the status for.

Returns:

  • (String)


3198
3199
3200
3201
3202
3203
3204
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3198

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The new status of the instance, ‘HEALTHY` or `UNHEALTHY`.

Returns:

  • (String)


3198
3199
3200
3201
3202
3203
3204
# File 'lib/aws-sdk-servicediscovery/types.rb', line 3198

class UpdateInstanceCustomHealthStatusRequest < Struct.new(
  :service_id,
  :instance_id,
  :status)
  SENSITIVE = []
  include Aws::Structure
end