cognito-sync:RegisterDevice

Write

cognito-sync:RegisterDevice is a Write access-level action in the cognito-sync service. Grants permission to register a device to receive push sync notifications

Resource types

ARNs that cognito-sync:RegisterDevice 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:RegisterDevice. Replace "Resource": "*" with a specific ARN to follow least privilege.

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

Related actions in cognito-sync

View all cognito-sync actions →