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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicediscovery/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
}

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)


3241
3242
3243
3244
3245
3246
3247
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3241

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)


3241
3242
3243
3244
3245
3246
3247
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3241

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)


3241
3242
3243
3244
3245
3246
3247
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3241

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