AWSIoTBehavior

Objective-C

@interface AWSIoTBehavior

Swift

class AWSIoTBehavior

A Device Defender security profile behavior.

Required parameters: [name]

  • The criteria that determine if a device is behaving normally in regard to the metric.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTBehaviorCriteria *_Nullable criteria;

    Swift

    var criteria: AWSIoTBehaviorCriteria? { get set }
  • What is measured by the behavior.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable metric;

    Swift

    var metric: String? { get set }
  • The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTMetricDimension *_Nullable metricDimension;

    Swift

    var metricDimension: AWSIoTMetricDimension? { get set }
  • The name you have given to the behavior.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }