TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-kafka-topic
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkkafka/datasource"
&datasource.TopicProps {
InstanceId: interface{},
Topic: interface{},
RefreshOptions: interface{},
}
Properties
Name | Type | Description |
---|---|---|
InstanceId |
interface{} |
Property instanceId: Resource id. |
Topic |
interface{} |
Property topic: Topic Name. |
RefreshOptions |
interface{} |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
InstanceId
Required
InstanceId interface{}
- Type: interface{}
Property instanceId: Resource id.
Topic
Required
Topic interface{}
- Type: interface{}
Property topic: Topic Name.
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.