AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

A Device Defender security profile behavior.

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.Behavior

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class Behavior

The Behavior type exposes the following members

Constructors

NameDescription
Public Method Behavior()

Properties

NameTypeDescription
Public Property Criteria Amazon.IoT.Model.BehaviorCriteria

Gets and sets the property Criteria.

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

In the IoT console, you can choose to be sent an alert through Amazon SNS when IoT Device Defender detects that a device is behaving anomalously.

Public Property ExportMetric System.Boolean

Gets and sets the property ExportMetric.

Value indicates exporting metrics related to the behavior when it is true.

Public Property Metric System.String

Gets and sets the property Metric.

What is measured by the behavior.

Public Property MetricDimension Amazon.IoT.Model.MetricDimension

Gets and sets the property MetricDimension.

The dimension for a metric in your behavior. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric to only MQTT topics where the name matches the pattern specified in the dimension. This can't be used with custom metrics.

Public Property Name System.String

Gets and sets the property Name.

The name you've given to the behavior.

Public Property SuppressAlerts System.Boolean

Gets and sets the property SuppressAlerts.

Suppresses alerts.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5