cognito-sync:DescribeIdentityUsage

Read

cognito-sync:DescribeIdentityUsage is a Read access-level action in the cognito-sync service. Grants permission to get usage information for an identity, including number of datasets and data usage

Resource types

ARNs that cognito-sync:DescribeIdentityUsage can be scoped to in an IAM policy.

arn:${Partition}:cognito-sync:${Region}:${Account}:identitypool/${IdentityPoolId}/identity/${IdentityId}
identity

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCognitosyncDescribeIdentityUsage",
      "Effect": "Allow",
      "Action": "cognito-sync:DescribeIdentityUsage",
      "Resource": "*"
    }
  ]
}

Related actions in cognito-sync

View all cognito-sync actions →