

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 檢視和更新 Amazon Route 53 設定檔
<a name="profiles-editing"></a>

選擇主控台索引標籤以檢視和編輯 Route 53 設定檔。選擇 CLI 索引標籤 AWS CLI ，以列出您擁有、由您共用或與您共用的設定檔。
+ [主控台](#profile-editing-console)
+ [CLI](#profile-editing-CLI)

------
#### [ Console ]<a name="profile-editing-procedure"></a>

**檢視和更新 Route 53 設定檔**

1. 登入 AWS Management Console 並開啟 Route 53 主控台，網址為 https：//[https://console.aws.amazon.com/route53/](https://console.aws.amazon.com/route53/)。

1. 在導覽窗格中，選擇**設定檔**。

1. 選取您要檢視或編輯之設定檔名稱旁的按鈕。

1. 在 **<Profile name>** 頁面上，您可以檢視目前關聯的 DNS 資源、關聯新的資源，以及編輯標籤和 VPC 組態。

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

您可以執行如下所示的 AWS CLI 命令來列出設定檔：

`aws route53profiles list-profiles`

以下是執行 命令之後的範例輸出：

```
{
    "ProfileSummaries": [
        {
            "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example",
            "Id": "rp-4987774726example",
            "Name": "test",
            "ShareStatus": "NOT_SHARED"
        }
    ]
}
```

您可以執行如下所示的 AWS CLI 命令，並使用您自己的 值，以取得與設定檔相關聯之特定 VPS 的相關資訊`profile-association-id`：

`aws route53profiles get-profile-association --profile-association-id rpassoc-489ce212fexample`

以下是執行 命令之後的範例輸出：

```
   "ProfileAssociation": {
        "CreationTime": 1709338817.148,
        "Id": "rrpassoc-489ce212fexample",
        "ModificationTime": 1709338974.772,
        "Name": "test-association",
        "OwnerId": "123456789012",
        "ProfileId": "rp-4987774726example",
        "ResourceId": "vpc-0af3b96b3example",
        "Status": "COMPLETE",
        "StatusMessage": "Created Profile Association"
    }   ]
}
```

------

## 刪除 Amazon Route 53 設定檔
<a name="profiles-deleting"></a>

選擇索引標籤以使用 Route 53 主控台刪除 Route 53 設定檔，或 AWS CLI。
+ [主控台](#profile-delete-console)
+ [CLI](#profile-delete-CLI)

------
#### [ Console ]<a name="profile-deleting-procedure"></a>

**刪除 Route 53 設定檔**

1. 登入 AWS Management Console 並開啟 Route 53 主控台，網址為 https：//[https://console.aws.amazon.com/route53/](https://console.aws.amazon.com/route53/)。

1. 在導覽窗格中，選擇**設定檔**。

1. 選取您要刪除之設定檔名稱旁的按鈕，然後選擇**刪除**。
**重要**  
如果設定檔與 VPCs相關聯，則無法刪除該設定檔。此外，如果將設定檔共用給另一個設定檔 AWS 帳戶，則設定檔組態相關聯的任何 VPCs 都將遺失這些組態。

1. 在**刪除 <設定檔名稱>** 對話方塊中，輸入 **confirm**，然後選擇**刪除**。

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

**重要**  
如果設定檔與 VPCs相關聯，則無法刪除該設定檔。此外，如果將設定檔共用給另一個設定檔 AWS 帳戶，則設定檔組態相關聯的任何 VPCs 都將遺失這些組態。

您可以執行如下所示的 AWS CLI 命令，並使用您自己的 值來刪除設定檔`profile-id`：

`aws route53profiles delete-profile --profile-id rp-6ffe47d5example`

以下是執行 命令之後的範例輸出：

```
{
    "Profile": {
        "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-6ffe47d5example",
        "ClientToken": "0a15fec0-05d9-4f78-bec0-EXAMPLE11111",
        "CreationTime": 1710850903.578,
        "Id": "rp-6ffe47d5example",
        "ModificationTime": 1710850903.578,
        "Name": "test",
        "OwnerId": "123456789012",
        "ShareStatus": "NOT_SHARED",
        "Status": "DELETED",
        "StatusMessage": "Deleted Profile"
    }
}
```

------