AWS Security ChangesHomeSearch

AWS code-library documentation change

Service: code-library · 2026-04-22 · Documentation low

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

Summary

Corrected API reference links for 'Wait' commands from ec2 to ecs and iam to ec2.

Security assessment

Editorial fix to broken or incorrect links, with no security impact or evidence of security issues.

Diff

diff --git a/code-library/latest/ug/bash_2_ec2_code_examples.md b/code-library/latest/ug/bash_2_ec2_code_examples.md
index d08befc0a..2a6e2ab61 100644
--- a//code-library/latest/ug/bash_2_ec2_code_examples.md
+++ b//code-library/latest/ug/bash_2_ec2_code_examples.md
@@ -5269 +5269 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    * [Wait](https://docs.aws.amazon.com/goto/aws-cli/ec2-2016-11-15/Wait)
+    * [Wait](https://docs.aws.amazon.com/goto/aws-cli/ecs-2014-11-13/Wait)
@@ -7119 +7119 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    * [Wait](https://docs.aws.amazon.com/goto/aws-cli/iam-2010-05-08/Wait)
+    * [Wait](https://docs.aws.amazon.com/goto/aws-cli/ec2-2016-11-15/Wait)