ALIYUN::MSE::NacosConfig is used to create a Nacos configuration.
Syntax
{
"Type": "ALIYUN::MSE::NacosConfig",
"Properties": {
"Group": String,
"Desc": String,
"Type": String,
"DataId": String,
"InstanceId": String,
"Content": String,
"BetaIps": String,
"NamespaceId": String,
"Tags": String,
"AppName": String
}
}Properties
| Property | Type | Required | Editable | Description | Constraint |
|---|---|---|---|---|---|
| Group | String | Yes | No | The ID of the group. | None. |
| Desc | String | No | No | The description of the configuration. | None. |
| Type | String | No | No | The format of the configuration. | Supported formats include TEXT, JSON, and XML. |
| DataId | String | Yes | No | The data ID. | None. |
| InstanceId | String | Yes | No | The ID of the instance. | None. |
| Content | String | No | No | The content of the configuration. | None. |
| BetaIps | String | No | No | The list of IP addresses where the beta release of the configuration is performed. | None. |
| NamespaceId | String | No | No | The ID of the namespace. | None. |
| Tags | String | No | No | The tags of the configuration. | None. |
| AppName | String | No | No | The name of the application. | None. |
Return values
Fn::GetAtt
None.
Examples
JSONformat{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "Group": { "Type": "String", "Description": "The ID of the group." }, "DataId": { "Type": "String", "Description": "The data ID." }, "InstanceId": { "Type": "String", "Description": "The ID of the instance." } }, "Resources": { "NacosConfig": { "Type": "ALIYUN::MSE::NacosConfig", "Properties": { "Group": { "Ref": "Group" }, "DataId": { "Ref": "DataId" }, "InstanceId": { "Ref": "InstanceId" }, "Type": "JSON" } } } }