AWS Security ChangesHomeSearch

AWS AWSEC2 documentation change

Service: AWSEC2 · 2025-05-22 · Documentation low

File: AWSEC2/latest/UserGuide/macos-ami-ids-parameter-store.md

Summary

Updated documentation headers and CLI command formatting for retrieving macOS AMI IDs via Systems Manager Parameter Store. Added explicit references to AWS CLI usage in section headers and simplified command syntax.

Security assessment

Changes are stylistic/formatting improvements and clarification of CLI usage. No security-related content added or modified.

Diff

diff --git a/AWSEC2/latest/UserGuide/macos-ami-ids-parameter-store.md b/AWSEC2/latest/UserGuide/macos-ami-ids-parameter-store.md
index 70ab4c4de..9d3051474 100644
--- a//AWSEC2/latest/UserGuide/macos-ami-ids-parameter-store.md
+++ b//AWSEC2/latest/UserGuide/macos-ami-ids-parameter-store.md
@@ -5 +5 @@
-# Retrieve macOS AMI IDs using Systems Manager Parameter Store
+# Retrieve macOS AMI IDs using AWS Systems Manager Parameter Store API
@@ -13 +13 @@ To perform this action, the [IAM principal](https://docs.aws.amazon.com/IAM/late
-###### To view a list of all macOS AMIs in the current AWS Region
+###### To view a list of all macOS AMIs in the current AWS Region using the AWS CLI
@@ -18,4 +18 @@ Use the following [get-parameters-by-path](https://awscli.amazonaws.com/v2/docum
-    aws ssm get-parameters-by-path \
-        --path /aws/service/ec2-macos \
-        --recursive \
-        --query "Parameters[].Name"
+    aws ssm get-parameters-by-path --path /aws/service/ec2-macos --recursive --query "Parameters[].Name"
@@ -23 +20 @@ Use the following [get-parameters-by-path](https://awscli.amazonaws.com/v2/docum
-###### To retrieve the AMI ID of the latest major macOS AMI
+###### To retrieve the AMI ID of the latest major macOS AMI using the AWS CLI
@@ -28,3 +25 @@ Use the following [get-parameter](https://awscli.amazonaws.com/v2/documentation/
-    aws ssm get-parameter 
-        --name /aws/service/ec2-macos/sonoma/x86_64_mac/latest/image_id \
-        --region region-code
+    aws ssm get-parameter --name /aws/service/ec2-macos/sonoma/x86_64_mac/latest/image_id --region region-code