Skip to content

TopicProps

Properties for defining a Topic.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkmns/datasource"
&datasource.TopicProps {
    TopicName: interface{},
    RefreshOptions: interface{},
}

Properties

Name Type Description
TopicName interface{} Property topicName: The name of the resource.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

TopicNameRequired

TopicName interface{}
  • Type: interface{}

Property topicName: The name of the resource.


RefreshOptionsOptional

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.