Class: Aws::IoT::Types::Behavior
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::Behavior
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass Behavior data as a hash:
{
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,
},
}
A Device Defender security profile behavior.
Instance Attribute Summary collapse
-
#criteria ⇒ Types::BehaviorCriteria
The criteria that determine if a device is behaving normally in regard to the ‘metric`.
-
#metric ⇒ String
What is measured by the behavior.
-
#name ⇒ String
The name you have given to the behavior.
Instance Attribute Details
#criteria ⇒ Types::BehaviorCriteria
The criteria that determine if a device is behaving normally in regard to the ‘metric`.
977 978 979 980 981 982 |
# File 'lib/aws-sdk-iot/types.rb', line 977 class Behavior < Struct.new( :name, :metric, :criteria) include Aws::Structure end |
#metric ⇒ String
What is measured by the behavior.
977 978 979 980 981 982 |
# File 'lib/aws-sdk-iot/types.rb', line 977 class Behavior < Struct.new( :name, :metric, :criteria) include Aws::Structure end |
#name ⇒ String
The name you have given to the behavior.
977 978 979 980 981 982 |
# File 'lib/aws-sdk-iot/types.rb', line 977 class Behavior < Struct.new( :name, :metric, :criteria) include Aws::Structure end |