AWS AmazonRDS: RDS ModifyDBInstance example: remove publiclyAccessible(true)
Summary
Removed the publiclyAccessible(true) setting from the Java and Python example code, so the sample no longer makes the DB instance publicly accessible.
Security assessment
Removing publiclyAccessible(true) from the example reduces public exposure of the database, a security-hardening improvement to the sample code.
Evidence
- .publiclyAccessible(true)
Diff
diff --git a/AmazonRDS/latest/UserGuide/example_rds_ModifyDBInstance_section.md b/AmazonRDS/latest/UserGuide/example_rds_ModifyDBInstance_section.md index b1b3e0b..8fe7d01 100644 --- a//AmazonRDS/latest/UserGuide/example_rds_ModifyDBInstance_section.md +++ b//AmazonRDS/latest/UserGuide/example_rds_ModifyDBInstance_section.md @@ -176 +175,0 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - .publiclyAccessible(true) @@ -215 +213,0 @@ There's more on GitHub. Find the complete example and learn how to set up and ru - publiclyAccessible = true