Class: Aws::RTBFabric::Types::HealthCheckConfig

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb

Overview

The health check configuration for a managed endpoint. Defines how the service probes instances in the Auto Scaling group to determine their health status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#healthy_threshold_countInteger

The number of consecutive successful health checks required before an instance is considered healthy. Valid range is 2 to 10.

Returns:

  • (Integer)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#interval_secondsInteger

The interval between health check probes, in seconds. Valid range is 5 to 60.

Returns:

  • (Integer)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The destination path for the health check request. Must start with /.

Returns:

  • (String)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port to use for health check probes. Valid range is 80 to 65535.

Returns:

  • (Integer)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol to use for health check probes.

Returns:

  • (String)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#status_code_matcherString

The expected HTTP status code or status code pattern from healthy instances. Supports a single code (for example, 200), a range (for example, 200-299), or a comma-separated list (for example, 200,204).

Returns:

  • (String)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#timeout_msInteger

The timeout for each health check probe, in milliseconds. Valid range is 100 to 5000.

Returns:

  • (Integer)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end

#unhealthy_threshold_countInteger

The number of consecutive failed health checks required before an instance is considered unhealthy. Valid range is 2 to 10.

Returns:

  • (Integer)


1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
# File 'gems/aws-sdk-rtbfabric/lib/aws-sdk-rtbfabric/types.rb', line 1370

class HealthCheckConfig < Struct.new(
  :port,
  :path,
  :protocol,
  :timeout_ms,
  :interval_seconds,
  :status_code_matcher,
  :healthy_threshold_count,
  :unhealthy_threshold_count)
  SENSITIVE = []
  include Aws::Structure
end