AWS cli documentation change
Summary
Revised PubliclyAccessible parameter documentation with updated default behaviors and error conditions
Security assessment
The modifications improve documentation about network security controls and default accessibility settings, but don't reference a specific security fix. Changes emphasize proper security group configuration and prevent misconfigurations that could lead to unintended public exposure.
Diff
diff --git a/cli/latest/reference/rds/create-db-instance.md b/cli/latest/reference/rds/create-db-instance.md index 76eb7d6f3..8e5e77a16 100644 --- a//cli/latest/reference/rds/create-db-instance.md +++ b//cli/latest/reference/rds/create-db-instance.md @@ -15 +15 @@ - * [AWS CLI 2.31.8 Command Reference](../../index.html) » + * [AWS CLI 2.31.10 Command Reference](../../index.html) » @@ -757 +757 @@ Syntax: -> When the DB instance is publicly accessible and you connect from outside of the DB instance’s virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access is not permitted if the security group assigned to the DB instance doesn’t permit it. +> When the DB instance is publicly accessible and you connect from outside of the DB instance’s virtual private cloud (VPC), its domain name system (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is controlled by its security group settings. @@ -761 +761 @@ Syntax: -> Default: The default behavior varies depending on whether `DBSubnetGroupName` is specified. +> The default behavior when `PubliclyAccessible` is not specified depends on whether a `DBSubnetGroup` is specified. @@ -763 +763 @@ Syntax: -> If `DBSubnetGroupName` isn’t specified, and `PubliclyAccessible` isn’t specified, the following applies: +> If `DBSubnetGroup` isn’t specified, `PubliclyAccessible` defaults to `false` for Aurora instances and `true` for non-Aurora instances. @@ -765,2 +765 @@ Syntax: -> * If the default VPC in the target Region doesn’t have an internet gateway attached to it, the DB instance is private. -> * If the default VPC in the target Region has an internet gateway attached to it, the DB instance is public. +> If `DBSubnetGroup` is specified, `PubliclyAccessible` defaults to `false` unless the value of `DBSubnetGroup` is `default` , in which case `PubliclyAccessible` defaults to `true` . @@ -768,8 +767 @@ Syntax: - -> -> If `DBSubnetGroupName` is specified, and `PubliclyAccessible` isn’t specified, the following applies: -> -> * If the subnets are part of a VPC that doesn’t have an internet gateway attached to it, the DB instance is private. -> * If the subnets are part of a VPC that has an internet gateway attached to it, the DB instance is public. -> - +> If `PubliclyAccessible` is true and the VPC that the `DBSubnetGroup` is in doesn’t have an internet gateway attached to it, Amazon RDS returns an error. @@ -2501 +2493 @@ DBInstance -> (structure) - * [AWS CLI 2.31.8 Command Reference](../../index.html) » + * [AWS CLI 2.31.10 Command Reference](../../index.html) »