S3 Access Grants 인스턴스 삭제

S3 Access Grants 인스턴스 삭제

계정의 한 AWS 리전에서 Amazon S3 Access Grants 인스턴스를 삭제할 수 있어요. 단, S3 Access Grants 인스턴스를 삭제하기 전에 먼저 다음을 수행해야 해요.

중요

S3 Access Grants 인스턴스를 삭제하면 그 삭제는 영구적이며 되돌릴 수 없어요. 이 S3 Access Grants 인스턴스의 접근 권한을 통해 접근을 부여받았던 모든 수혜자는 내 S3 데이터에 대한 접근 권한을 잃게 돼요.

S3 Access Grants 인스턴스 삭제는 Amazon S3 콘솔, AWS Command Line Interface(AWS CLI), Amazon S3 REST API, AWS SDK를 사용해 할 수 있어요.

S3 Access Grants 인스턴스를 삭제하려면

  1. AWS Management Console에 로그인하고 Amazon S3 콘솔을 https://console.aws.amazon.com/s3/에서 엽니다.
  2. 왼쪽 탐색 창에서 Access Grants를 선택합니다.
  3. S3 Access Grants 페이지에서 작업하려는 S3 Access Grants 인스턴스가 들어 있는 리전을 선택합니다.
  4. 인스턴스의 View details를 선택합니다.
  5. 인스턴스 세부 정보 페이지에서 Delete instance를 선택합니다.
  6. 나타나는 대화 상자에서 Delete를 선택합니다. 이 작업은 되돌릴 수 없어요.

AWS CLI를 설치하려면 AWS Command Line Interface 사용자 가이드의 AWS CLI 설치를 참고하세요. 다음 예제 명령을 사용할 때는 사용자 입력 자리 표시자를 자신의 정보로 바꾸세요.

참고

S3 Access Grants 인스턴스를 삭제하기 전에 먼저 그 인스턴스 안에서 만든 모든 접근 권한과 위치를 삭제해야 해요. IAM Identity Center 인스턴스를 S3 Access Grants 인스턴스에 연결했다면 먼저 연결 해제해야 합니다.

예제 – S3 Access Grants 인스턴스 삭제

aws s3control delete-access-grants-instance \
--account-id 111122223333 \
--profile access-grants-profile \
--region us-east-2 \
--endpoint-url https://s3-control.us-east-2.amazonaws.com \

// 응답 본문 없음

S3 Access Grants 인스턴스 삭제에 대한 Amazon S3 REST API 지원에 대한 자세한 내용은 Amazon Simple Storage Service API Reference의 DeleteAccessGrantsInstance를 참고하세요.

이 섹션은 AWS SDK를 사용해 S3 Access Grants 인스턴스를 삭제하는 예제를 제공해요. 다음 예제를 사용할 때는 사용자 입력 자리 표시자를 자신의 정보로 바꾸세요.

Java

참고

S3 Access Grants 인스턴스를 삭제하기 전에 먼저 그 인스턴스 안에서 만든 모든 접근 권한과 위치를 삭제해야 해요. IAM Identity Center 인스턴스를 S3 Access Grants 인스턴스에 연결했다면 먼저 연결 해제해야 합니다.

예제 – S3 Access Grants 인스턴스 삭제

public void deleteAccessGrantsInstance() {
    DeleteAccessGrantsInstanceRequest deleteRequest = DeleteAccessGrantsInstanceRequest.builder()
        .accountId("111122223333")
        .build();
    DeleteAccessGrantsInstanceResponse deleteResponse = s3Control.deleteAccessGrantsInstance(deleteRequest);
    LOGGER.info("DeleteAccessGrantsInstanceResponse: " + deleteResponse);
}

출처: 문서

본문

Delete an S3 Access Grants instance (S3 Access Grants 인스턴스 삭제하기)

S3 Access Grants 인스턴스를 삭제하는 방법은 위 안내를 따라 하면 돼요. 먼저 모든 접근 권한과 위치를 삭제하고, 연결한 IAM Identity Center 인스턴스가 있다면 연결 해제한 뒤 삭제해야 해요.

더 알아보기 (Learn more)