Files
floci/docs
Niels Kootstra c9aad84192 fix(sns): refuse a topic policy that grants an action SNS does not have (#9080)
SetTopicAttributes and CreateTopic stored any Policy, so a topic policy
granting an action SNS does not have, such as sns:PublishBatch, was kept
and an AWS::SNS::TopicPolicy carrying one reached CREATE_COMPLETE. Both
now check every sns: Action of every statement against the list
AddPermission uses, ignoring case, and answer the same InvalidParameter
("Policy statement action out of service scope!"). A refused
SetTopicAttributes keeps the old policy and a refused CreateTopic creates
no topic. Receive, which AWS's former default topic policy granted, is
added to that list. Wildcards, NotAction, other services' actions and a
value that is not JSON are left unchecked.

Closes #8897
2026-11-20 15:00:04 -04:00
..
2026-03-15 17:43:56 -05:00