AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added resource tagging commands for IAM roles and Batch resources in Fargate example

Security assessment

Adds operational tags (project=doc-smith) to Batch resources. Tagging supports resource organization but isn't a security feature and doesn't address vulnerabilities.

Diff

diff --git a/code-library/latest/ug/bash_2_batch_code_examples.md b/code-library/latest/ug/bash_2_batch_code_examples.md
index 89d6ff9a2..ab1517579 100644
--- a//code-library/latest/ug/bash_2_batch_code_examples.md
+++ b//code-library/latest/ug/bash_2_batch_code_examples.md
@@ -416,0 +417 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+        aws iam tag-role --role-name "${ROLE_NAME}" --tags Key=project,Value=doc-smith Key=tutorial,Value=getting-started-batch-fargate
@@ -436,0 +438 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+            --tags project=doc-smith,tutorial=getting-started-batch-fargate \
@@ -457,0 +460 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+            --tags project=doc-smith,tutorial=getting-started-batch-fargate \