Amazon IoT Core · JSON Structure

Iot Core Enable Io T Logging Params Structure

Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.

Type: object Properties: 2 Required: 2
Device ManagementIoTMQTTMessage Routing

EnableIoTLoggingParams is a JSON Structure definition published by Amazon IoT Core, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

roleArnForLogging logLevel

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$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-enable-io-t-logging-params-structure.json",
  "name": "EnableIoTLoggingParams",
  "description": "Parameters used when defining a mitigation action that enable Amazon Web Services IoT Core logging.",
  "type": "object",
  "properties": {
    "roleArnForLogging": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RoleArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the IAM role used for logging."
        }
      ]
    },
    "logLevel": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LogLevel"
        },
        {
          "description": "Specifies the type of information to be logged."
        }
      ]
    }
  },
  "required": [
    "roleArnForLogging",
    "logLevel"
  ]
}