AWSIoTViolationEvent
Objective-C
@interface AWSIoTViolationEvent
Swift
class AWSIoTViolationEvent
Information about a Device Defender security profile behavior violation.
-
The behavior that was violated.
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTBehavior *_Nullable behavior;
Swift
var behavior: AWSIoTBehavior? { get set }
-
The value of the metric (the measurement).
Declaration
Objective-C
@property (nonatomic, strong) AWSIoTMetricValue *_Nullable metricValue;
Swift
var metricValue: AWSIoTMetricValue? { get set }
-
The name of the security profile whose behavior was violated.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable securityProfileName;
Swift
var securityProfileName: String? { get set }
-
The name of the thing responsible for the violation event.
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 time the violation event occurred.
Declaration
Objective-C
@property (nonatomic, strong) NSDate *_Nullable violationEventTime;
Swift
var violationEventTime: Date? { get set }
-
The type of violation event.
Declaration
Objective-C
@property (nonatomic) AWSIoTViolationEventType violationEventType;
Swift
var violationEventType: AWSIoTViolationEventType { get set }
-
The ID of the violation event.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable violationId;
Swift
var violationId: String? { get set }