기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
개발자 도구 콘솔 또는 AWS Command Line Interface (AWS CLI)의 list-connections 명령을 사용하여 계정의 연결 목록을 볼 수 있습니다.
연결 나열(콘솔)
연결을 나열하는 방법
-
https://console.aws.amazon.com/codesuite/settings/connections
에서 개발자 도구 콘솔을 엽니다. -
[설정(Settings)] > [연결(Connections)]을 선택합니다.
-
연결의 이름, 상태 및 ARN을 확인합니다.
연결 나열(CLI)
를 사용하여 타사 코드 리포지토리에 대한 연결을 나열 AWS CLI 할 수 있습니다. 호스트 리소스에 연결된 연결(예: GitHub Enteprise Server 연결)의 경우 출력에 호스트 ARN이 추가로 반환됩니다.
이렇게 하려면 list-connections 명령을 사용합니다.
연결을 나열하는 방법
-
터미널(Linux, macOS 또는 Unix) 또는 명령 프롬프트(Windows)를 열고 AWS CLI 를 사용하여 list-connections 명령을 실행합니다.
aws codeconnections list-connections --provider-type Bitbucket --max-results 5 --next-token:
next-token
이 명령은 다음 출력을 반환합니다.
{ "Connections": [ { "ConnectionName": "my-connection", "ProviderType": "Bitbucket", "Status": "PENDING", "ARN": "arn:aws:codeconnections:us-west-2:
account_id
:connection/aEXAMPLE-8aad-4d5d-8878-dfcab0bc441f", "OwnerAccountId": "account_id
" }, { "ConnectionName": "my-other-connection", "ProviderType": "Bitbucket", "Status": "AVAILABLE", "ARN": "arn:aws:codeconnections:us-west-2:account_id
:connection/aEXAMPLE-8aad-4d5d-8878-dfcab0bc441f", "OwnerAccountId": "account_id
" }, ], "NextToken": "next-token
" }