Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

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

10502
10503
10504
10505
10506
10507
10508
10509
10510
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10502

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)

10502
10503
10504
10505
10506
10507
10508
10509
10510
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10502

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)

10502
10503
10504
10505
10506
10507
10508
10509
10510
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10502

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)

10502
10503
10504
10505
10506
10507
10508
10509
10510
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10502

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)

10502
10503
10504
10505
10506
10507
10508
10509
10510
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10502

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