Class: Aws::SecurityHub::Types::AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails

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

Overview

The container health check command and associated configuration parameters for the container.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commandArray<String>

The command that the container runs to determine whether it is healthy.

Returns:

  • (Array<String>)


10363
10364
10365
10366
10367
10368
10369
10370
10371
# File 'lib/aws-sdk-securityhub/types.rb', line 10363

class AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails < Struct.new(
  :command,
  :interval,
  :retries,
  :start_period,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end

#intervalInteger

The time period in seconds between each health check execution. The default value is 30 seconds.

Returns:

  • (Integer)


10363
10364
10365
10366
10367
10368
10369
10370
10371
# File 'lib/aws-sdk-securityhub/types.rb', line 10363

class AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails < Struct.new(
  :command,
  :interval,
  :retries,
  :start_period,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end

#retriesInteger

The number of times to retry a failed health check before the container is considered unhealthy. The default value is 3.

Returns:

  • (Integer)


10363
10364
10365
10366
10367
10368
10369
10370
10371
# File 'lib/aws-sdk-securityhub/types.rb', line 10363

class AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails < Struct.new(
  :command,
  :interval,
  :retries,
  :start_period,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end

#start_periodInteger

The optional grace period in seconds that allows containers time to bootstrap before failed health checks count towards the maximum number of retries.

Returns:

  • (Integer)


10363
10364
10365
10366
10367
10368
10369
10370
10371
# File 'lib/aws-sdk-securityhub/types.rb', line 10363

class AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails < Struct.new(
  :command,
  :interval,
  :retries,
  :start_period,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end

#timeoutInteger

The time period in seconds to wait for a health check to succeed before it is considered a failure. The default value is 5.

Returns:

  • (Integer)


10363
10364
10365
10366
10367
10368
10369
10370
10371
# File 'lib/aws-sdk-securityhub/types.rb', line 10363

class AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails < Struct.new(
  :command,
  :interval,
  :retries,
  :start_period,
  :timeout)
  SENSITIVE = []
  include Aws::Structure
end