cognito-identity:GetIdentityPoolRoles is a Read access-level action in the cognito-identity service. Grants permission to get the roles for an identity pool
ARNs that cognito-identity:GetIdentityPoolRoles can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants cognito-identity:GetIdentityPoolRoles.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows cognito-identity:GetIdentityPoolRoles. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCognitoidentityGetIdentityPoolRoles",
"Effect": "Allow",
"Action": "cognito-identity:GetIdentityPoolRoles",
"Resource": "*"
}
]
}