AWS Security ChangesHomeSearch

AWS code-library documentation change

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

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

Summary

Added resource tagging for security groups, EC2 instances, volumes, and Elastic IPs

Security assessment

Changes only add metadata tags for resource management. Security group rules, instance policies, or encryption settings remain unchanged with no security implications.

Diff

diff --git a/code-library/latest/ug/ec2_example_ec2_GettingStarted_013_section.md b/code-library/latest/ug/ec2_example_ec2_GettingStarted_013_section.md
index 93daef0fa..46b31f801 100644
--- a//code-library/latest/ug/ec2_example_ec2_GettingStarted_013_section.md
+++ b//code-library/latest/ug/ec2_example_ec2_GettingStarted_013_section.md
@@ -193,0 +194 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+      --tag-specifications 'ResourceType=security-group,Tags=[{Key=project,Value=doc-smith},{Key=tutorial,Value=ec2-basics}]' \
@@ -262,0 +264 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+      --tag-specifications 'ResourceType=instance,Tags=[{Key=project,Value=doc-smith},{Key=tutorial,Value=ec2-basics}]' 'ResourceType=volume,Tags=[{Key=project,Value=doc-smith},{Key=tutorial,Value=ec2-basics}]' \
@@ -344,0 +347 @@ There's more on GitHub. Find the complete example and learn how to set up and ru
+      --tag-specifications 'ResourceType=elastic-ip,Tags=[{Key=project,Value=doc-smith},{Key=tutorial,Value=ec2-basics}]' \