ALIYUN::RDS::DBInstanceParameterGroup is used to modify the parameters of an ApsaraDB RDS instance.
Syntax
{
"Type": "ALIYUN::RDS::DBInstanceParameterGroup",
"Properties": {
"Forcerestart": String,
"DBInstanceId": String,
"Parameters": List
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
DBInstanceId | String | Yes | No | The ID of the instance. | N/A |
Parameters | List | Yes | Yes | The parameters of the instance. | For more information, see Parameters properties. |
Forcerestart | String | No | Yes | Specifies whether to forcibly restart the instance. | Valid values:
|
Parameters syntax
"Parameters": [
{
"Key": String,
"Value": String
}
]
Parameters properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
Key | String | Yes | No | The name of the parameter. | N/A |
Value | String | Yes | No | The value of the parameter. | N/A |
Response parameters
Fn::GetAtt
N/A
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "DBInstanceId": { "Type": "String", "AssociationProperty": "ALIYUN::RDS::Instance::InstanceId" } }, "Resources": { "DBInstanceParameterGroup": { "Type": "ALIYUN::RDS::DBInstanceParameterGroup", "Properties": { "Parameters": [ { "Key": "back_log", "Value": "3000" }, { "Key": "wait_timeout", "Value": "86400" } ], "DBInstanceId": { "Ref": "DBInstanceId" }, "Forcerestart": "false" } } } }