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": {
"Parameters": {
"Type": "Json",
"Description": "Parameters to update for selected database instance.",
"Default": {"delayed_insert_timeout":"600","max_length_for_sort_data":"2048"}
},
"DBInstanceId": {
"Type": "String",
"Description": "Database InstanceId to update properties."
"Default": rm-uf6wjk5xxxxxxx
},
"Forcerestart": {
"Type": "String",
"Description": "whether restart database instance.",
"AllowedValues": [
"true",
"false"
],
"Default": "false"
}
},
"Resources": {
"DBInstanceParameterGroup": {
"Type": "ALIYUN::RDS::DBInstanceParameterGroup",
"Properties": {
"Parameters": {
"Ref": "Parameters"
},
"DBInstanceId": {
"Ref": "DBInstanceId"
},
"Forcerestart": {
"Ref": "Forcerestart"
}
}
}
}
}