DATASOURCE::MNS::Topic is used to query the information about a topic.
Syntax
{
"Type": "DATASOURCE::MNS::Topic",
"Properties": {
"TopicName": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
TopicName | String | Yes | Yes | The topic name. | None. |
Return values
Fn::GetAtt
MessageRetentionPeriod: the maximum retention time period of the message in the topic.
CreateTime: the time when the topic was created.
TopicUrl: the public URL of the topic.
MaxMessageSize: the maximum size of the message body that is sent to the topic.
LastModifyTime: the most recent time when the topic was modified.
MessageCount: the number of messages in the topic.
TopicInnerUrl: the private URL of the topic.
LoggingEnabled: indicates whether the logging feature is enabled.
TopicName: the topic name.