AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added tags to IAM role and Lambda function resources.

Security assessment

Changes implement resource tagging without security context. Tags are for organizational tracking (project/tutorial) and don't relate to security controls or vulnerabilities.

Diff

diff --git a/code-library/latest/ug/sts_example_api_gateway_GettingStarted_087_section.md b/code-library/latest/ug/sts_example_api_gateway_GettingStarted_087_section.md
index f0be399f8..d4bc5b1eb 100644
--- a//code-library/latest/ug/sts_example_api_gateway_GettingStarted_087_section.md
+++ b//code-library/latest/ug/sts_example_api_gateway_GettingStarted_087_section.md
@@ -167,0 +168,2 @@ 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=apigateway-lambda-integration
+    
@@ -190 +192,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-        --environment "Variables={LOG_LEVEL=INFO}" || {
+        --environment "Variables={LOG_LEVEL=INFO}" \
+        --tags project=doc-smith,tutorial=apigateway-lambda-integration || {
@@ -201,0 +205 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+        --tags project=doc-smith,tutorial=apigateway-lambda-integration \