cognito-sync:GetCognitoEvents

Read

cognito-sync:GetCognitoEvents is a Read access-level action in the cognito-sync service. Grants permission to get the events and the corresponding Lambda functions associated with an identity pool

Resource types

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

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

Condition keys

No condition keys are documented for this action.

Example IAM policy

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

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

Related actions in cognito-sync

View all cognito-sync actions →