TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-rocketmq5-topic
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq5/datasource"
&datasource.TopicProps {
InstanceId: interface{},
TopicName: interface{},
RefreshOptions: interface{},
}
Properties
Name | Type | Description |
---|---|---|
InstanceId |
interface{} |
Property instanceId: The ID of the instance to which the topic belongs. |
TopicName |
interface{} |
Property topicName: The name of the topic. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: The ID of the instance to which the topic belongs.
TopicName
Required
TopicName interface{}
- Type: interface{}
Property topicName: The name of the topic.
RefreshOptions
Optional
RefreshOptions interface{}
- Type: interface{}
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.