

지원 종료 알림: 2026년 10월 7일에 AWS 에 대한 지원이 종료됩니다 AWS Proton. 2026년 10월 7일 이후에는 AWS Proton 콘솔 또는 AWS Proton 리소스에 더 이상 액세스할 수 없습니다. 배포된 인프라는 그대로 유지됩니다. 자세한 내용은 [AWS Proton 서비스 사용 중단 및 마이그레이션 안내서](https://docs.aws.amazon.com/proton/latest/userguide/proton-end-of-support.html)를 참조하세요.

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

# 연결된 리포지토리 데이터 보기
<a name="ag-repo-view"></a>

콘솔 또는 AWS CLI를 사용하여 연결된 리포지토리 세부 정보를 삭제할 수 있습니다. git 리포지토리를 동기화하는 데 사용되는 리포지토리 링크의 경우 AWS Proton를 사용하여 리포지토리 동기화 정의 및 상태를 검색할 수 있습니다 AWS CLI.

------
#### [ AWS Management Console ]

**[AWS Proton 콘솔](https://console.aws.amazon.com//proton/)을 사용하여 연결된 리포지토리의 세부 정보를 나열하고 볼 수 있습니다. ** 

1. 연결된 리포지토리를 나열하려면 탐색 창에서 **리포지토리**를 선택합니다.

1. 세부 데이터를 보려면 리포지토리 이름을 선택합니다.

------
#### [ AWS CLI ]

**연결된 리포지토리를 나열합니다.**

다음 명령을 실행합니다.

```
$ aws proton list-repositories
```

응답:

```
{
    "repositories": [
        {
            "arn": "arn:aws:proton:region-id:123456789012:repository/github:myrepos/templates",
            "name": "myrepos/templates",
            "provider": "GITHUB"
        },
        {
            "arn": "arn:aws:proton:region-id:123456789012:repository/github:myrepos/environments",
            "name": "myrepos/environments",
            "provider": "GITHUB"
        }
    ]
}
```

**연결된 리포지토리의 세부 정보를 봅니다.**

다음 명령을 실행합니다.

```
$ aws proton get-repository \
    --name {{myrepos/templates}} \
    --provider "{{GITHUB}}"
```

응답:

```
{
    "repository": {
        "arn": "arn:aws:proton:region-id:123456789012:repository/github:myrepos/templates",
        "name": "myrepos/templates",
        "provider": "GITHUB"
    }
}
```

**동기화된 리포지토리를 나열합니다.**

다음 예제는 템플릿 동기화를 위해 구성한 리포지토리를 나열합니다.

다음 명령을 실행합니다.

```
$ aws proton list-repository-sync-definitions \
    --branch "{{main}}" \
    --repository-name {{myrepos/templates}} \
    --repository-provider "{{GITHUB}}" \
    --sync-type "TEMPLATE_SYNC"
```

**리포지토리 동기화 상태를 봅니다.**

다음 예는 템플릿 동기화 저장소의 동기화 상태를 검색하는 예제입니다.

다음 명령을 실행합니다.

```
$ aws proton get-repository-sync-status \
    --branch "{{main}}" \
    --repository-name {{myrepos/templates}} \
    --repository-provider "{{GITHUB}}" \
    --sync-type "TEMPLATE_SYNC"
```

응답:

```
{
    "latestSync": {
        "events": [
            {
                "event": "Clone started",
                "time": "2021-11-21T00:26:35.883000+00:00",
                "type": "CLONE_STARTED"
            },
            {
                "event": "Updated configuration",
                "time": "2021-11-21T00:26:41.894000+00:00",
                "type": "CONFIG_UPDATED"
            },
            {
                "event": "Starting syncs for commit 62c03ff86eEXAMPLE1111111",
                "externalId": "62c03ff86eEXAMPLE1111111",
                "time": "2021-11-21T00:26:44.861000+00:00",
                "type": "STARTING_SYNC"
            }
        ],
        "startedAt": "2021-11-21T00:26:29.728000+00:00",
        "status": "SUCCEEDED"
    }
}
```

------