cognito-sync:SetCognitoEvents is a Write access-level action in the cognito-sync service. Grants permission to set the AWS Lambda function for a given event type for an identity pool
ARNs that cognito-sync:SetCognitoEvents can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows cognito-sync:SetCognitoEvents. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowCognitosyncSetCognitoEvents",
"Effect": "Allow",
"Action": "cognito-sync:SetCognitoEvents",
"Resource": "*"
}
]
}