TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mns-topic
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmns"
&alicloudroscdkmns.TopicProps {
TopicName: interface{},
LoggingEnabled: interface{},
MaximumMessageSize: interface{},
}
Properties
Name | Type | Description |
---|---|---|
TopicName |
interface{} |
Property topicName: Topic name. |
LoggingEnabled |
interface{} |
Property loggingEnabled: Whether to enable log management. |
MaximumMessageSize |
interface{} |
Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes. |
TopicName
Required
TopicName interface{}
- Type: interface{}
Property topicName: Topic name.
LoggingEnabled
Optional
LoggingEnabled interface{}
- Type: interface{}
Property loggingEnabled: Whether to enable log management.
"true" indicates that log management is enabled, whereas "false" indicates that log management is disabled. The default value is false
MaximumMessageSize
Optional
MaximumMessageSize interface{}
- Type: interface{}
Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes.
An integer in the range of 1,024 (1 KB) to 65, 536 (64 KB); default value: 65,536 (64 KB).