You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AgentFilter as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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

    The detailed health state of the agent.

#agent_healthsArray<String>

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

Returns:

  • (Array<String>)

    The current health state of the agent.