AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2025-06-28 · Documentation low

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

Summary

Added PowerShell V5 examples for Get-SSMConnectionStatus showing how to check instance connection status

Security assessment

The change adds usage examples for checking connection status but doesn't address vulnerabilities or describe security features

Diff

diff --git a/code-library/latest/ug/ssm_example_ssm_GetConnectionStatus_section.md b/code-library/latest/ug/ssm_example_ssm_GetConnectionStatus_section.md
index 6f38e872d..a6556d5a8 100644
--- a//code-library/latest/ug/ssm_example_ssm_GetConnectionStatus_section.md
+++ b//code-library/latest/ug/ssm_example_ssm_GetConnectionStatus_section.md
@@ -62,0 +63,21 @@ PowerShell
+**Tools for PowerShell V5**
+    
+
+**Example 1: This example retrieves the Session Manager connection status for an instance to determine whether it is connected and ready to receive Session Manager connections.**
+    
+    
+    Get-SSMConnectionStatus -Target i-0a1caf234f12d3dc4
+    
+
+**Output:**
+    
+    
+    Status    Target
+    ------    ------
+    Connected i-0a1caf234f12d3dc4
+
+  * For API details, see [GetConnectionStatus](https://docs.aws.amazon.com/powershell/v5/reference) in _AWS Tools for PowerShell Cmdlet Reference (V5)_. 
+
+
+
+