Modify settings for a DB Instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The DB Instance identifier. This value is stored as a lowercase string. Constraints:
|
|
|
Optional |
An associative array of parameters that can have the following keys:
|
Returns
Type |
Description |
---|---|
A |
Examples
Modify database instance.
// Instantiate the class $rds = new AmazonRDS(); $response = $rds->modify_db_instance('myInstance', array( 'AllocatedStorage' => 10, 'DBSecurityGroups' => 'default', 'ApplyImmediately' => 'true', 'DBParameterGroupName' => 'myParamGroup', 'MultiAZ' => true, 'AllowMajorVersionUpgrade' => true, 'AutoMinorVersionUpgrade' => true, )); // Success? var_dump($response->isOK());
Related Methods
Source
Method defined in services/rds.class.php | Toggle source view (25 lines) | View on GitHub