리포지토리 삭제 - CodeArtifact

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

리포지토리 삭제

CodeArtifact 콘솔 또는 를 사용하여 리포지토리를 삭제할 수 있습니다 AWS CLI. 리포지토리를 삭제한 후에는 패키지를 리포지토리로 푸시하거나 리포지토리에서 패키지를 가져올 수 없습니다. 리포지토리에 있는 모든 패키지는 영구적으로 사용 불가능하며 복원할 수 없게 됩니다. 이름이 같은 리포지토리를 만들 수 있지만 이러한 리포지토리에는 아무 내용도 들어 있지 않습니다.

리포지토리 삭제(콘솔)

  1. https://console.aws.amazon.com/codesuite/codeartifact/home 에서 AWS CodeArtifact 콘솔을 엽니다.

  2. 탐색 창에서 리포지토리를 선택한 다음 삭제할 리포지토리를 선택합니다.

  3. 삭제를 선택한 다음, 단계에 따라 도메인을 삭제합니다.

리포지토리 삭제(AWS CLI)

리포지토리를 삭제하려면 delete-repository 명령을 사용합니다.

aws codeartifact delete-repository --domain my_domain --domain-owner 111122223333 --repository my_repo

출력 예제:

{ "repository": { "name": "my_repo", "administratorAccount": "123456789012", "domainName": "my_domain", "domainOwner": "123456789012", "arn": "arn:aws:codeartifact:region-id:123456789012:repository/my_domain/my_repo", "description": "My new repository", "upstreams": [], "externalConnections": [] } }