ModifyDBProxy - Amazon Relational Database Service

ModifyDBProxy

Changes the settings for an existing DB proxy.

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

DBProxyName

The identifier for the DBProxy to modify.

Type: String

Required: Yes

Auth.member.N

The new authentication settings for the DBProxy.

Type: Array of UserAuthConfig objects

Required: No

DebugLogging

Specifies whether the proxy logs detailed connection and query information. When you enable DebugLogging, the proxy captures connection details and connection pool behavior from your queries. Debug logging increases CloudWatch costs and can impact proxy performance. Enable this option only when you need to troubleshoot connection or performance issues.

Type: Boolean

Required: No

IdleClientTimeout

The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.

Type: Integer

Required: No

NewDBProxyName

The new identifier for the DBProxy. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.

Type: String

Required: No

RequireTLS

Whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy, even if the associated database doesn't use TLS.

Type: Boolean

Required: No

RoleArn

The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.

Type: String

Required: No

SecurityGroups.member.N

The new list of security groups for the DBProxy.

Type: Array of strings

Required: No

Response Elements

The following element is returned by the service.

DBProxy

The DBProxy object representing the new settings for the proxy.

Type: DBProxy object

Errors

For information about the errors that are common to all actions, see Common Errors.

DBProxyAlreadyExistsFault

The specified proxy name must be unique for all proxies owned by your AWS account in the specified AWS Region.

HTTP Status Code: 400

DBProxyNotFoundFault

The specified proxy name doesn't correspond to a proxy owned by your AWS account in the specified AWS Region.

HTTP Status Code: 404

InvalidDBProxyStateFault

The requested operation can't be performed while the proxy is in this state.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: