AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/bash_2_api-gateway_code_examples.md

Summary

Added resource tagging commands for IAM roles and Lambda functions in API Gateway code examples

Security assessment

Identical to previous API Gateway example - adds non-security operational tags (project=doc-smith) without addressing vulnerabilities or security features.

Diff

diff --git a/code-library/latest/ug/bash_2_api-gateway_code_examples.md b/code-library/latest/ug/bash_2_api-gateway_code_examples.md
index e162a373f..d705e59d4 100644
--- a//code-library/latest/ug/bash_2_api-gateway_code_examples.md
+++ b//code-library/latest/ug/bash_2_api-gateway_code_examples.md
@@ -181,0 +182,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
+    
@@ -204 +206,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 || {
@@ -215,0 +219 @@ 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 \