AWSIoTActiveViolation

Objective-C

@interface AWSIoTActiveViolation

Swift

class AWSIoTActiveViolation

Information about an active Device Defender security profile behavior violation.

  • The behavior that is being violated.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTBehavior *_Nullable behavior;

    Swift

    var behavior: AWSIoTBehavior? { get set }
  • The time the most recent violation occurred.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable lastViolationTime;

    Swift

    var lastViolationTime: Date? { get set }
  • The value of the metric (the measurement) that caused the most recent violation.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTMetricValue *_Nullable lastViolationValue;

    Swift

    var lastViolationValue: AWSIoTMetricValue? { get set }
  • The security profile with the behavior is in violation.

    Declaration

    Objective-C

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

    Swift

    var securityProfileName: String? { get set }
  • The name of the thing responsible for the active violation.

    Declaration

    Objective-C

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

    Swift

    var thingName: String? { get set }
  • The verification state of the violation (detect alarm).

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTVerificationState verificationState;

    Swift

    var verificationState: AWSIoTVerificationState { get set }
  • The description of the verification state of the violation.

    Declaration

    Objective-C

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

    Swift

    var verificationStateDescription: String? { get set }
  • The details of a violation event.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTViolationEventAdditionalInfo *_Nullable violationEventAdditionalInfo;

    Swift

    var violationEventAdditionalInfo: AWSIoTViolationEventAdditionalInfo? { get set }
  • The ID of the active violation.

    Declaration

    Objective-C

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

    Swift

    var violationId: String? { get set }
  • The time the violation started.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable violationStartTime;

    Swift

    var violationStartTime: Date? { get set }