Skip to content

TopicProps

Properties for defining a Topic.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-kafka-topic

Initializer

using AlibabaCloud.SDK.ROS.CDK.Kafka;
new TopicProps {
    object InstanceId,
    object Topic,
    object RefreshOptions = null
};

Properties

Name Type Description
InstanceId object Property instanceId: Resource id.
Topic object Property topic: Topic Name.
RefreshOptions object Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

InstanceIdRequired

public object InstanceId { get; set; }
  • Type: object

Property instanceId: Resource id.


TopicRequired

public object Topic { get; set; }
  • Type: object

Property topic: Topic Name.


RefreshOptionsOptional

public object RefreshOptions { get; set; }
  • Type: object

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.