

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

# Amazon Detective 비활성화
<a name="detective-disabling"></a>

동작 그래프의 관리자 계정은 Detective 콘솔, Detective API 또는 AWS Command Line Interface에서 Amazon Detective를 비활성화할 수 있습니다. Detective를 비활성화하면 동작 그래프 및 관련 Detective 데이터가 삭제됩니다.

동작 그래프를 삭제한 후에는 복원할 수 없습니다.

**Topics**
+ [Detective 비활성화(콘솔)](#disable-from-console)
+ [Detective 비활성화(Detective API, AWS CLI)](#disable-from-api)
+ [리전 간 Detective 비활성화(GitHub의 Python 스크립트)](#disable-from-github-script)

## Detective 비활성화(콘솔)
<a name="disable-from-console"></a>

 AWS Management Console에서 Amazon Detective를 비활성화할 수 있습니다.

**Amazon Detective를 비활성화하려면(콘솔)**

1. [https://console.aws.amazon.com/detective/](https://console.aws.amazon.com/detective/)에서 Amazon Detective 콘솔을 엽니다.

1. Detective 탐색 창의 **설정** 아래에서 **일반**을 선택합니다.

1. **일반** 페이지의 **Amazon Detective 비활성화**에서 **Amazon Detective 비활성화**를 선택합니다.

1. 확인 메시지가 나타나면 **disable**을 입력합니다.

1. **Amazon Detective 비활성화**를 선택합니다.

## Detective 비활성화(Detective API, AWS CLI)
<a name="disable-from-api"></a>

Detective API 또는 AWS Command Line Interface에서 Amazon Detective를 비활성화할 수 있습니다. 요청에 사용할 동작 그래프의 ARN을 가져오려면 [https://docs.aws.amazon.com/detective/latest/APIReference/API_ListGraphs.html](https://docs.aws.amazon.com/detective/latest/APIReference/API_ListGraphs.html) 작업을 사용합니다.

**Detective(Detective API AWS CLI)를 비활성화하려면**
+ **Detective API:** [https://docs.aws.amazon.com/detective/latest/APIReference/API_DeleteGraph.html](https://docs.aws.amazon.com/detective/latest/APIReference/API_DeleteGraph.html) 작업을 사용합니다. 그래프 ARN을 제공해야 합니다.
+ **AWS CLI:** 명령줄에서 [https://docs.aws.amazon.com/cli/latest/reference/detective/delete-graph.html](https://docs.aws.amazon.com/cli/latest/reference/detective/delete-graph.html) 명령을 실행합니다.

  ```
  aws detective delete-graph --graph-arn {{<graph ARN>}}
  ```

  예제:

  ```
  aws detective delete-graph --graph-arn arn:aws:detective:us-east-1:111122223333:graph:123412341234
  ```

## 리전 간 Detective 비활성화(GitHub의 Python 스크립트)
<a name="disable-from-github-script"></a>

Detective는 GitHub에서 오픈 소스 스크립트를 제공하여 지정된 리전 목록의 관리자 계정에 대해 Detective를 비활성화할 수 있습니다.

GitHub 스크립트를 구성하고 사용하는 방법에 대한 자세한 내용은 [Detective Python 스크립트를 사용하여 계정 관리](detective-github-scripts.md) 섹션을 참조하세요.