cognito-idp:AdminSetUserMFAPreference is a Write access-level action in the cognito-idp service. Grants permission to set any user's preferred MFA method
ARNs that cognito-idp:AdminSetUserMFAPreference can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cognito-idp:AdminSetUserMFAPreference.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows cognito-idp:AdminSetUserMFAPreference. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCognitoidpAdminSetUserMFAPreference",
"Effect": "Allow",
"Action": "cognito-idp:AdminSetUserMFAPreference",
"Resource": "*"
}
]
}