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

Class: Aws::IoT::Types::ActiveViolation

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

Overview

Information about an active Device Defender security profile behavior violation.

Instance Attribute Summary collapse

Instance Attribute Details

#behaviorTypes::Behavior

The behavior which is being violated.

Returns:



320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#last_violation_timeTime

The time the most recent violation occurred.

Returns:

  • (Time)


320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#last_violation_valueTypes::MetricValue

The value of the metric (the measurement) which caused the most recent violation.

Returns:



320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#security_profile_nameString

The security profile whose behavior is in violation.

Returns:

  • (String)


320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#thing_nameString

The name of the thing responsible for the active violation.

Returns:

  • (String)


320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#violation_idString

The ID of the active violation.

Returns:

  • (String)


320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end

#violation_start_timeTime

The time the violation started.

Returns:

  • (Time)


320
321
322
323
324
325
326
327
328
329
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 320

class ActiveViolation < Struct.new(
  :violation_id,
  :thing_name,
  :security_profile_name,
  :behavior,
  :last_violation_value,
  :last_violation_time,
  :violation_start_time)
  include Aws::Structure
end