AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added tagging for IAM role, Lambda function, and API Gateway

Security assessment

Changes implement resource tagging only. No modifications to Lambda security policies or API Gateway security features.

Diff

diff --git a/code-library/latest/ug/lambda_example_api_gateway_GettingStarted_087_section.md b/code-library/latest/ug/lambda_example_api_gateway_GettingStarted_087_section.md
index 7db17f80f..10b1224f1 100644
--- a//code-library/latest/ug/lambda_example_api_gateway_GettingStarted_087_section.md
+++ b//code-library/latest/ug/lambda_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 \