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

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


3602
3603
3604
3605
3606
3607
3608
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3602

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

#service_idString

The ID or Amazon Resource Name (ARN) of the service that includes the configuration for the custom health check that you want to change the status for. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

Returns:

  • (String)


3602
3603
3604
3605
3606
3607
3608
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3602

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)


3602
3603
3604
3605
3606
3607
3608
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 3602

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