AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/api-gateway_example_api_gateway_GettingStarted_087_section.md

Summary

Added resource tagging commands for IAM roles and Lambda functions in API Gateway/Lambda integration example

Security assessment

The changes add operational tags (project=doc-smith, tutorial=apigateway-lambda-integration) for resource management. Tagging isn't a security feature and no vulnerabilities are addressed.

Diff

diff --git a/code-library/latest/ug/api-gateway_example_api_gateway_GettingStarted_087_section.md b/code-library/latest/ug/api-gateway_example_api_gateway_GettingStarted_087_section.md
index a5a65fb58..020ea6b18 100644
--- a//code-library/latest/ug/api-gateway_example_api_gateway_GettingStarted_087_section.md
+++ b//code-library/latest/ug/api-gateway_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 \