AWS Security ChangesHomeSearch

AWS code-library documentation change

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

File: code-library/latest/ug/direct-connect_example_directconnect_GettingStarted_051_section.md

Summary

Added tagging to Direct Connect connections and VPN gateway resources

Security assessment

Changes only add metadata tags for resource organization. No network security policies, encryption settings, or access controls are altered.

Diff

diff --git a/code-library/latest/ug/direct-connect_example_directconnect_GettingStarted_051_section.md b/code-library/latest/ug/direct-connect_example_directconnect_GettingStarted_051_section.md
index b1ab9ca91..eb663db8a 100644
--- a//code-library/latest/ug/direct-connect_example_directconnect_GettingStarted_051_section.md
+++ b//code-library/latest/ug/direct-connect_example_directconnect_GettingStarted_051_section.md
@@ -172 +172,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-        --connection-name "$CONNECTION_NAME")
+        --connection-name "$CONNECTION_NAME" \
+        --tags key=project,value=doc-smith key=tutorial,value=aws-direct-connect-gs)
@@ -214 +215,2 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
-    VGW_OUTPUT=$(aws ec2 create-vpn-gateway --type ipsec.1)
+    VGW_OUTPUT=$(aws ec2 create-vpn-gateway --type ipsec.1 \
+        --tag-specifications 'ResourceType=vpn-gateway,Tags=[{Key=project,Value=doc-smith},{Key=tutorial,Value=aws-direct-connect-gs}]')