Class: Aws::Inspector::Types::AgentFilter

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

Overview

Note:

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

{
  agent_healths: ["HEALTHY"], # required, accepts HEALTHY, UNHEALTHY, UNKNOWN
  agent_health_codes: ["IDLE"], # required, accepts IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, UNKNOWN
}

Contains information about an Amazon Inspector agent. This data type is used as a request parameter in the ListAssessmentRunAgents action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_health_codesArray<String>

The detailed health state of the agent. Values can be set to IDLE, RUNNING, SHUTDOWN, UNHEALTHY, THROTTLED, and UNKNOWN.

Returns:

  • (Array<String>)


128
129
130
131
132
133
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 128

class AgentFilter < Struct.new(
  :agent_healths,
  :agent_health_codes)
  SENSITIVE = []
  include Aws::Structure
end

#agent_healthsArray<String>

The current health state of the agent. Values can be set to HEALTHY or UNHEALTHY.

Returns:

  • (Array<String>)


128
129
130
131
132
133
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 128

class AgentFilter < Struct.new(
  :agent_healths,
  :agent_health_codes)
  SENSITIVE = []
  include Aws::Structure
end