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

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

Overview

Note:

When making an API call, you may pass AwsEcsTaskDefinitionContainerDefinitionsHealthCheckDetails data as a hash:

{
  command: ["NonEmptyString"],
  interval: 1,
  retries: 1,
  start_period: 1,
  timeout: 1,
}

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>)


7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7753

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)


7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7753

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)


7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7753

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)


7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7753

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)


7753
7754
7755
7756
7757
7758
7759
7760
7761
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 7753

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