Amazon Managed Grafana · JSON Structure

Amazon Managed Grafana Update Instruction Structure

Contains the instructions for one Grafana role permission update in a UpdatePermissions operation.

Type: object Properties: 3 Required: 3
DashboardsMonitoringObservabilityVisualization

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

Properties

action role users

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-managed-grafana/refs/heads/main/json-structure/amazon-managed-grafana-update-instruction-structure.json",
  "name": "UpdateInstruction",
  "description": "Contains the instructions for one Grafana role permission update in a <a href=\"https://docs.aws.amazon.com/grafana/latest/APIReference/API_UpdatePermissions.html\">UpdatePermissions</a> operation.",
  "type": "object",
  "properties": {
    "action": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UpdateAction"
        },
        {
          "description": "Specifies whether this update is to add or revoke role permissions."
        }
      ]
    },
    "role": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Role"
        },
        {
          "description": "The role to add or revoke for the user or the group specified in <code>users</code>."
        }
      ]
    },
    "users": {
      "allOf": [
        {
          "$ref": "#/components/schemas/UserList"
        },
        {
          "description": "A structure that specifies the user or group to add or revoke the role for."
        }
      ]
    }
  },
  "required": [
    "action",
    "role",
    "users"
  ]
}