AWS Security ChangesHomeSearch

AWS rekognition medium security documentation change

Service: rekognition · 2025-10-25 · Security-related medium

File: rekognition/latest/dg/video-analyzing-with-sqs.md

Summary

Updated IAM policy implementation guidance and code formatting

Security assessment

Added explicit instruction for policy insertion and corrected policy syntax - prevents misconfiguration risks

Diff

diff --git a/rekognition/latest/dg/video-analyzing-with-sqs.md b/rekognition/latest/dg/video-analyzing-with-sqs.md
index 599776452..ce1a595ac 100644
--- a//rekognition/latest/dg/video-analyzing-with-sqs.md
+++ b//rekognition/latest/dg/video-analyzing-with-sqs.md
@@ -392,0 +393,2 @@ In the function `main`:
+In the code example, place the following IAM policy within the quotations marks in the line `policy = """""".format(sqsQueueArn, self.snsTopicArn)`.
+    
@@ -566 +568,3 @@ In the function `main`:
-            policy = """{{
+            # Insert the policy from the documentation from 
+            policy = """
+            {{
@@ -692 +697 @@ In the following sample code:
-          Version: "2012-10-17",
+          Version: "2012-10-17",&TCX5-2025-waiver;