

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 호스트 나열
<a name="connections-host-list"></a>

개발자 도구 콘솔 또는 AWS Command Line Interface (AWS CLI)의 **list-connections** 명령을 사용하여 계정의 연결 목록을 볼 수 있습니다.

## 호스트 나열(콘솔)
<a name="connections-host-list-console"></a>

**호스트를 나열하려면**

1. [https://console.aws.amazon.com/codesuite/settings/connections](https://console.aws.amazon.com/codesuite/settings/connections)에서 개발자 도구 콘솔을 엽니다.

1. [**호스트(Hosts)**] 탭을 선택합니다. 호스트의 이름, 상태, ARN을 봅니다.

## 호스트 나열(CLI)
<a name="connections-host-list-cli"></a>

를 사용하여 설치된 타사 공급자 연결에 대한 호스트를 나열 AWS CLI 할 수 있습니다.

이렇게 하려면 **list-hosts** 명령을 사용합니다.

**호스트를 나열하는 방법**
+ 터미널(Linux, macOS 또는 Unix) 또는 명령 프롬프트(Windows)를 열고 AWS CLI 를 사용하여 **list-hosts** 명령을 실행합니다.

  ```
  aws codeconnections list-hosts
  ```

  이 명령은 다음 출력을 반환합니다.

  ```
  {
      "Hosts": [
          {
              "Name": "My-Host",
              "HostArn": "arn:aws:codeconnections:us-west-2:account_id:host/My-Host-28aef605",
              "ProviderType": "GitHubEnterpriseServer",
              "ProviderEndpoint": "https://my-instance.test.dev",
              "Status": "AVAILABLE"
          }
      ]
  }
  ```