DATASOURCE::ROCKETMQ::Groups is used to query the groups in Message Queue for Apache RocketMQ.
Syntax
{
"Type": "DATASOURCE::ROCKETMQ::Groups",
"Properties": {
"GroupName": String,
"GroupType": String,
"InstanceId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
---|---|---|---|---|---|
GroupName | String | No | Yes | The ID of the group. | None. |
GroupType | String | No | Yes | The protocol over which the group publishes or subscribes to messages. | Valid values:
|
InstanceId | String | No | Yes | The ID of the instance to which the group belongs. | None. |
Return values
Fn::GetAtt
- GroupNames: the IDs of the groups.
- Groups: details of the groups.
Property | Type | Description | Constraint |
---|---|---|---|
GroupNames | List | The IDs of the groups. | None. |
Groups | List | Details of the groups. | None. |
GroupType | string | The protocol over which the group publishes or subscribes to messages. | Valid values:
|
Remark | string | The description of the group. | None. |
Tags | Map | The tags that are added to the group. | Sample value:
|
InstanceId | string | The ID of the instance to which the group belongs. | None. |
GroupName | string | The ID of the consumer group. | None. |
IndependentNaming | boolean | Indicates whether a separate namespace is configured for the instance. | Valid values:
|
Owner | string | The Alibaba Cloud account ID of the user who created the group. | None. |
CreateTime | string | The time when the group was created. | None. |
Examples
JSON
format{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { }, "Resources": { "ExtensionDataSource": { "Type": "DATASOURCE::ROCKETMQ::Groups", "Properties": { "GroupType": "http" } } }, "Outputs": { "GroupNames": { "Description": "The list of group names.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "GroupNames" ] } }, "Groups": { "Description": "The list of groups.", "Value": { "Fn::GetAtt": [ "ExtensionDataSource", "Groups" ] } } } }