Behavior is a JSON Structure definition published by Amazon IoT Core, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-core/refs/heads/main/json-structure/iot-core-behavior-structure.json",
"name": "Behavior",
"description": "A Device Defender security profile behavior.",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/BehaviorName"
},
{
"description": "The name you've given to the behavior."
}
]
},
"metric": {
"allOf": [
{
"$ref": "#/components/schemas/BehaviorMetric"
},
{
"description": "What is measured by the behavior."
}
]
},
"metricDimension": {
"allOf": [
{
"$ref": "#/components/schemas/MetricDimension"
},
{
"description": "The dimension for a metric in your behavior. For example, using a <code>TOPIC_FILTER</code> 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."
}
]
},
"criteria": {
"allOf": [
{
"$ref": "#/components/schemas/BehaviorCriteria"
},
{
"description": "The criteria that determine if a device is behaving normally in regard to the <code>metric</code>."
}
]
},
"suppressAlerts": {
"allOf": [
{
"$ref": "#/components/schemas/SuppressAlerts"
},
{
"description": " Suppresses alerts. "
}
]
}
},
"required": [
"name"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.