Aurora Serverless has limited options for configuration customization.
With an Aurora Serverless DB cluster, you can only modify the following cluster-level parameters:
character_set_server
collation_server
lc_time_names
lower_case_table_names
time_zone
If you modify other cluster-level parameters, the changes have no effect, and the Aurora Serverless DB cluster uses the default values for these parameters.
...
Note
Instance-level parameters do not apply to Aurora Serverless.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html
For the specific issue that prompted the question, connect_timeout
can't be adjusted, but this timer would not be the cause of timeouts when connecting to a cold (sleeping) Aurora Serverless cluster, even though the wait time in that case can be up to about 30 seconds. This timer doesn't start running until the MySQL server has accepted the connection request, sent its initial handshake, and started waiting for the client to respond. To avoid timeouts in this situation, your client library will need to wait longer before giving up on the server.