Setting a default view in an Amazon Web Services Region - Amazon Resource Explorer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Setting a default view in an Amazon Web Services Region

In Amazon Resource Explorer, you can define many views in an Amazon Web Services Region, where each view addresses different search requirements. We recommend that you set one view in each Region as the default view for that Region.

Resource Explorer uses the default view whenever a user performs a search and doesn't explicitly specify which view to use. The unified search bar at the top of every Amazon Web Services Management Console page also automatically uses the default view in the Region that contains the aggregator index to find resources that match the user's search query.

You can select only a view that exists in the Region to be that Region's default view. If another Region has a view that you want to use, you must first create a copy of that view in the Region in which you want to make it the default view.

Tip

There is no copy view operation. You must create a view in the target Region and then copy the settings from the existing view to the new view.

You can specify a view as the default for its Region by using the Amazon Web Services Management Console or by running Amazon CLI commands or their equivalent API operations in an Amazon SDK.

Amazon Web Services Management Console

To set a default view

  1. On the Resource Explorer Views page, choose the option button next to the view that you want to make the default for its Region.

  2. Choose Actions, then choose Set as default.

Amazon CLI

To set a default view

Run the following command to set the specified view as the default for its Region. The following example sets the specified view to be the default for all searches performed in the cn-north-1 Region. That view must exist in the Region in which you run the command.

$ aws resource-explorer-2 associate-default-view \ --region cn-north-1 \ --view-arn arn:aws-cn:resource-explorer-2:cn-north-1:123456789012:view/MyViewName/1a2b3c4d-5d6e-7f8a-9b0c-abcd11111111 { "ViewArn": "arn:aws-cn:resource-explorer-2:cn-north-1:123456789012:view/MyViewName/1a2b3c4d-5d6e-7f8a-9b0c-abcd11111111" }