{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-instance-info-structure.json",
  "name": "InstanceInfo",
  "description": "Information about an on-premises instance.",
  "type": "object",
  "properties": {
    "instanceName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceName"
        },
        {
          "description": "The name of the on-premises instance."
        }
      ]
    },
    "iamSessionArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IamSessionArn"
        },
        {
          "description": "The ARN of the IAM session associated with the on-premises instance."
        }
      ]
    },
    "iamUserArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/IamUserArn"
        },
        {
          "description": "The IAM user ARN associated with the on-premises instance."
        }
      ]
    },
    "instanceArn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/InstanceArn"
        },
        {
          "description": "The ARN of the on-premises instance."
        }
      ]
    },
    "registerTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "The time at which the on-premises instance was registered."
        }
      ]
    },
    "deregisterTime": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": "If the on-premises instance was deregistered, the time at which the on-premises instance was deregistered."
        }
      ]
    },
    "tags": {
      "allOf": [
        {
          "$ref": "#/components/schemas/TagList"
        },
        {
          "description": "The tags currently associated with the on-premises instance."
        }
      ]
    }
  }
}