cognito-idp:UntagResource

Tagging

cognito-idp:UntagResource is a Tagging access-level action in the cognito-idp service. Grants permission to untag a user pool

Resource types

ARNs that cognito-idp:UntagResource can be scoped to in an IAM policy.

arn:${Partition}:cognito-idp:${Region}:${Account}:userpool/${UserPoolId}
userpool

Condition keys

Keys you can use in the Condition block of a policy that grants cognito-idp:UntagResource.

aws:ResourceTag/${TagKey} String

Filters access by tag key-value pairs attached to the resource

Example IAM policy

A minimal policy that allows cognito-idp:UntagResource. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCognitoidpUntagResource",
      "Effect": "Allow",
      "Action": "cognito-idp:UntagResource",
      "Resource": "*"
    }
  ]
}

Related actions in cognito-idp

View all cognito-idp actions →