How can I block user region change in quicksight?

I need to prevent users from accidentally changing regions.

How can I restrict users?

Should I block it with IAM Policy? Or should I do it with Custom Permission?

Hi @KIMJIHO
where do user “accidentally” changing regions?
BR

Hey,

To directly answer your question, you should use IAM policies for this! An example would look like this

{
            "Sid": "DenyOtherRegions",
            "Effect": "Deny",
            "Action": "*",
            "Resource": "*",
            "Condition": {
                "StringNotEquals": {
                    "aws:RequestedRegion": [
                        "us-east-1", 
                        "us-west-2"
                    ]
                }
            }
        }

Hope this helps!

Arnav

2 Likes

Thanks @arnavv . Is it restrict users not able to see other regions and not able to switch it.

Regards - Sanjeeb

Yes, I want to prevent switching to other regions.

1 Like

There have been cases where users often change to their work country.
Our company has offices in several countries.