AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/cloudwatch-logs_example_lambda_GettingStarted_019_section.md

Summary

Added resource tagging to Lambda IAM role, function, and CloudWatch Logs group

Security assessment

Tags added for organizational purposes. No security features documented and no vulnerabilities addressed in the changes

Diff

diff --git a/code-library/latest/ug/cloudwatch-logs_example_lambda_GettingStarted_019_section.md b/code-library/latest/ug/cloudwatch-logs_example_lambda_GettingStarted_019_section.md
index 863e168ff..90115cd7b 100644
--- a//code-library/latest/ug/cloudwatch-logs_example_lambda_GettingStarted_019_section.md
+++ b//code-library/latest/ug/cloudwatch-logs_example_lambda_GettingStarted_019_section.md
@@ -303,0 +304,4 @@ 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=lambda-gettingstarted
+    
@@ -351,0 +356 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+        --tags project=doc-smith,tutorial=lambda-gettingstarted \
@@ -457,0 +463,4 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    aws logs tag-log-group \
+        --log-group-name "$LOG_GROUP_NAME" \
+        --tags project=doc-smith,tutorial=lambda-gettingstarted
+