AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/bash_2_cognito-identity-provider_code_examples.md

Summary

Added resource tagging to Cognito User Pool

Security assessment

Change adds organizational tags to Cognito resources. No security controls, vulnerabilities, or security features are mentioned or modified.

Diff

diff --git a/code-library/latest/ug/bash_2_cognito-identity-provider_code_examples.md b/code-library/latest/ug/bash_2_cognito-identity-provider_code_examples.md
index 9b86c5137..fcb9e2954 100644
--- a//code-library/latest/ug/bash_2_cognito-identity-provider_code_examples.md
+++ b//code-library/latest/ug/bash_2_cognito-identity-provider_code_examples.md
@@ -213,0 +214,5 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+    USER_POOL_ARN=$(echo "$USER_POOL_OUTPUT" | jq -r '.UserPool.Arn // empty')
+    aws cognito-idp tag-resource \
+      --resource-arn "$USER_POOL_ARN" \
+      --tags project=doc-smith,tutorial=amazon-cognito-gs
+