AWS Security ChangesHomeSearch

AWS lambda documentation change

Service: lambda · 2026-05-04 · Documentation low

File: lambda/latest/dg/example_iam_GettingStarted_032_section.md

Summary

Added tags during IAM role creation and Lambda function creation with 'project=doc-smith' and tutorial identifiers

Security assessment

Modifications solely introduce resource tagging for categorization. No evidence of security fixes, vulnerabilities, or security-related documentation additions.

Diff

diff --git a/lambda/latest/dg/example_iam_GettingStarted_032_section.md b/lambda/latest/dg/example_iam_GettingStarted_032_section.md
index ca88a405c..03b527a0c 100644
--- a//lambda/latest/dg/example_iam_GettingStarted_032_section.md
+++ b//lambda/latest/dg/example_iam_GettingStarted_032_section.md
@@ -191 +191 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    ROLE_OUTPUT=$(log_cmd "aws iam create-role --role-name '$ROLE_NAME' --assume-role-policy-document file://trust-policy.json --output json")
+    ROLE_OUTPUT=$(log_cmd "aws iam create-role --role-name '$ROLE_NAME' --assume-role-policy-document file://trust-policy.json --tags Key=project,Value=doc-smith Key=tutorial,Value=cloudwatch-streams --output json")
@@ -245 +245 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    LAMBDA1_OUTPUT=$(log_cmd "aws lambda create-function --function-name '$LAMBDA_FUNCTION1' --runtime python3.11 --role '$ROLE_ARN' --handler lambda_function.handler --zip-file fileb://lambda_function.zip --timeout 30 --memory-size 128")
+    LAMBDA1_OUTPUT=$(log_cmd "aws lambda create-function --function-name '$LAMBDA_FUNCTION1' --runtime python3.11 --role '$ROLE_ARN' --handler lambda_function.handler --zip-file fileb://lambda_function.zip --timeout 30 --memory-size 128 --tags project=doc-smith,tutorial=cloudwatch-streams")
@@ -250 +250 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    LAMBDA2_OUTPUT=$(log_cmd "aws lambda create-function --function-name '$LAMBDA_FUNCTION2' --runtime python3.11 --role '$ROLE_ARN' --handler lambda_function.handler --zip-file fileb://lambda_function.zip --timeout 30 --memory-size 128")
+    LAMBDA2_OUTPUT=$(log_cmd "aws lambda create-function --function-name '$LAMBDA_FUNCTION2' --runtime python3.11 --role '$ROLE_ARN' --handler lambda_function.handler --zip-file fileb://lambda_function.zip --timeout 30 --memory-size 128 --tags project=doc-smith,tutorial=cloudwatch-streams")