Class: Aws::IoT::Types::ValidateSecurityProfileBehaviorsRequest

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

Overview

Note:

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

{
  behaviors: [ # required
    {
      name: "BehaviorName", # required
      metric: "BehaviorMetric",
      criteria: {
        comparison_operator: "less-than", # accepts less-than, less-than-equals, greater-than, greater-than-equals, in-cidr-set, not-in-cidr-set, in-port-set, not-in-port-set
        value: {
          count: 1,
          cidrs: ["Cidr"],
          ports: [1],
        },
        duration_seconds: 1,
      },
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#behaviorsArray<Types::Behavior>

Specifies the behaviors that, when violated by a device (thing), cause an alert.

Returns:



11576
11577
11578
11579
# File 'lib/aws-sdk-iot/types.rb', line 11576

class ValidateSecurityProfileBehaviorsRequest < Struct.new(
  :behaviors)
  include Aws::Structure
end