AWS Security ChangesHomeSearch

AWS AWSCloudFormation medium security documentation change

Service: AWSCloudFormation · 2025-05-25 · Security-related medium

File: AWSCloudFormation/latest/UserGuide/quickref-iam.md

Summary

Removed an important note about differences in Amazon SNS policy actions between AWS::IAM::Policy and AWS::SNS::TopicPolicy resources

Security assessment

The removed content warned about critical policy action differences that could lead to misconfigurations. Removing this security-relevant guidance increases risk of users applying incorrect policies with actions like sns:Unsubscribe in wrong contexts, potentially creating insecure permissions.

Diff

diff --git a/AWSCloudFormation/latest/UserGuide/quickref-iam.md b/AWSCloudFormation/latest/UserGuide/quickref-iam.md
index 3af0b734f..4b65e0dce 100644
--- a//AWSCloudFormation/latest/UserGuide/quickref-iam.md
+++ b//AWSCloudFormation/latest/UserGuide/quickref-iam.md
@@ -309,4 +308,0 @@ This snippet shows how to create a policy and apply it to multiple groups using
-###### Important
-
-The Amazon SNS policy actions that are declared in the AWS::IAM::Policy resource differ from the Amazon SNS topic policy actions that are declared in the AWS::SNS::TopicPolicy resource. For example, the policy actions `sns:Unsubscribe` and `sns:SetSubscriptionAttributes` are valid for the `AWS::IAM::Policy` resource, but are invalid for the `AWS::SNS::TopicPolicy` resource. For more information about valid Amazon SNS policy actions that you can use with the `AWS::IAM::Policy` resource, see [Special information for Amazon SNS policies](https://docs.aws.amazon.com/sns/latest/dg/AccessPolicyLanguage_SpecialInfo.html) in the _Amazon Simple Notification Service Developer Guide_.
-
@@ -405,4 +400,0 @@ This snippet shows how to create a policy and apply it to an Amazon SNS topic us
-###### Important
-
-The Amazon SNS policy actions that are declared in the AWS::IAM::Policy resource differ from the Amazon SNS topic policy actions that are declared in the AWS::SNS::TopicPolicy resource. For example, the policy actions `sns:Unsubscribe` and `sns:SetSubscriptionAttributes` are valid for the `AWS::IAM::Policy` resource, but are invalid for the `AWS::SNS::TopicPolicy` resource. For more information about valid Amazon SNS policy actions that you can use with the `AWS::IAM::Policy` resource, see [Special information for Amazon SNS policies](https://docs.aws.amazon.com/sns/latest/dg/AccessPolicyLanguage_SpecialInfo.html) in the _Amazon Simple Notification Service Developer Guide_.
-
@@ -506 +498 @@ This section provides CloudFormation template examples for IAM roles for EC2 Ins
-For more information about IAM roles, see [Working with roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html) in the _AWS Identity and Access Management User Guide_.
+For more information about IAM roles, see [IAM roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html) in the _IAM User Guide_.