{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-get-cloud-connector-result-schema.json",
  "title": "GetCloudConnectorResult",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-cloud-connector-api-openapi.yml#/components/schemas/GetCloudConnectorResult",
  "type": "object",
  "properties": {
    "CloudConnectorArn": {
      "type": "string",
      "description": "The ARN of the cloud connector."
    },
    "DisplayName": {
      "type": "string",
      "description": "The friendly name of the cloud connector."
    },
    "Description": {
      "type": "string",
      "description": "The description of the cloud connector."
    },
    "RoleArn": {
      "type": "string",
      "description": "The ARN of the IAM role used by the cloud connector."
    },
    "Configuration": {
      "$ref": "#/$defs/CloudConnectorConfiguration"
    },
    "ConfigConnectorArn": {
      "type": "string",
      "description": "The ARN of the Amazon Web Services Config connector associated with this cloud connector."
    },
    "CreatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the cloud connector was created."
    },
    "UpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the cloud connector was last updated."
    }
  },
  "$defs": {
    "AzureConfiguration": {
      "type": "object",
      "properties": {
        "TenantId": {
          "type": "string",
          "description": "The ID of the Azure tenant."
        },
        "TenantDisplayName": {
          "type": "string",
          "description": "The display name of the Azure tenant."
        },
        "ApplicationId": {
          "type": "string",
          "description": "The ID of the Azure application registration used for authentication."
        },
        "ApplicationDisplayName": {
          "type": "string",
          "description": "The display name of the Azure application registration."
        },
        "Targets": {
          "$ref": "#/$defs/ConfigurationTargets"
        }
      },
      "required": [
        "TenantId",
        "ApplicationId"
      ]
    },
    "AzureSubscription": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID of the Azure subscription."
        },
        "DisplayName": {
          "type": "string",
          "description": "The display name of the Azure subscription."
        }
      },
      "required": [
        "Id"
      ]
    },
    "CloudConnectorConfiguration": {
      "type": "object",
      "properties": {
        "AzureConfiguration": {
          "$ref": "#/$defs/AzureConfiguration"
        }
      },
      "description": "Exactly one member is set."
    },
    "ConfigurationTargets": {
      "type": "object",
      "properties": {
        "Subscriptions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AzureSubscription"
          },
          "description": "A list of Azure subscriptions to target."
        }
      },
      "description": "Exactly one member is set."
    }
  }
}