AWS vpc documentation change
Summary
Improved JSON formatting and updated region references in policy examples
Security assessment
Structural JSON formatting changes and region standardization in existing examples
Diff
diff --git a/vpc/latest/userguide/vpc-policy-examples.md b/vpc/latest/userguide/vpc-policy-examples.md index 89b3cf8d1..e4dcfabed 100644 --- a//vpc/latest/userguide/vpc-policy-examples.md +++ b//vpc/latest/userguide/vpc-policy-examples.md @@ -305 +305,2 @@ JSON - "Statement":[{ + "Statement": [ + { @@ -319 +320 @@ JSON - "ec2:Vpc": "arn:aws:ec2:region:account-id:vpc/vpc-id" + "ec2:Vpc": "arn:aws:ec2:us-east-1:account-id:vpc/vpc-id" @@ -358 +359,2 @@ JSON - "Statement": [{ + "Statement": [ + { @@ -364 +366 @@ JSON - "arn:aws:ec2:region:account:subnet/subnet-id", + "arn:aws:ec2:us-east-1:account:subnet/subnet-id", @@ -368 +370 @@ JSON - "arn:aws:ec2:region:account:security-group/sg-id" + "arn:aws:ec2:us-east-1:account:security-group/sg-id" @@ -390 +392,2 @@ JSON - "Statement": [{ + "Statement": [ + { @@ -396 +399 @@ JSON - "ec2:Vpc": "arn:aws:ec2:region:account-id:vpc/vpc-id" + "ec2:Vpc": "arn:aws:ec2:us-east-1:account-id:vpc/vpc-id" @@ -496 +499 @@ JSON - "Sid": "EC2FullAccess" + "Sid": "EC2FullAccess", @@ -498 +501 @@ JSON - "ec2:*", + "ec2:*"