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

Class: Aws::Inspector::Types::AgentAlreadyRunningAssessment

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

Overview

Used in the exception error that is thrown if you start an assessment run for an assessment target that includes an EC2 instance that is already participating in another started assessment run.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_idString

ID of the agent that is running on an EC2 instance that is already participating in another started assessment run.

Returns:

  • (String)


69
70
71
72
73
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 69

class AgentAlreadyRunningAssessment < Struct.new(
  :agent_id,
  :assessment_run_arn)
  include Aws::Structure
end

#assessment_run_arnString

The ARN of the assessment run that has already been started.

Returns:

  • (String)


69
70
71
72
73
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 69

class AgentAlreadyRunningAssessment < Struct.new(
  :agent_id,
  :assessment_run_arn)
  include Aws::Structure
end