ds:DisableRoleAccess is a Write access-level action in the ds service. Grants permission to disable AWS Management Console access for identity in your AWS Directory
ARNs that ds:DisableRoleAccess can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ds:DisableRoleAccess.
Filters access by the AWS DS Resource being acted upon
A minimal policy that allows ds:DisableRoleAccess. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDsDisableRoleAccess",
"Effect": "Allow",
"Action": "ds:DisableRoleAccess",
"Resource": "*"
}
]
}