AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-03-23 · Documentation low

File: code-library/latest/ug/iam_example_iam_Scenario_PolicyManagement_section.md

Summary

Changed example bucket references from 'my-bucket' and 'made-up-bucket-name' to 'amzn-s3-demo-bucket' for consistency

Security assessment

Standardization of example resource names does not indicate security fixes or introduce security documentation. No evidence of addressing vulnerabilities or security controls.

Diff

diff --git a/code-library/latest/ug/iam_example_iam_Scenario_PolicyManagement_section.md b/code-library/latest/ug/iam_example_iam_Scenario_PolicyManagement_section.md
index 190a5479e..dff828a61 100644
--- a/code-library/latest/ug/iam_example_iam_Scenario_PolicyManagement_section.md
+++ b/code-library/latest/ug/iam_example_iam_Scenario_PolicyManagement_section.md
@@ -57,2 +57,2 @@ Create functions that wrap IAM policy actions.
-                             'arn:aws:s3:::my-bucket/*' to allow actions on all objects
-                             in the bucket named 'my-bucket'.
+                             'arn:aws:s3:::amzn-s3-demo-bucket/*' to allow actions on all objects
+                             in the bucket named 'amzn-s3-demo-bucket'.
@@ -238 +238 @@ Use the wrapper functions to create policies, update versions, and get informati
-        bucket_arn = f"arn:aws:s3:::made-up-bucket-name"
+        bucket_arn = f"arn:aws:s3:::amzn-s3-demo-bucket"