Skip to content

TopicProps

Properties for defining a Topic.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-topic

Initializer

import ros_cdk_rocketmq5
ros_cdk_rocketmq5.TopicProps(
  instance_id: typing.Union[str, IResolvable],
  message_type: typing.Union[str, IResolvable],
  topic_name: typing.Union[str, IResolvable],
  remark: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the instance.
message_type typing.Union[str, ros_cdk_core.IResolvable] Property messageType: The message type of the topic to be created.
topic_name typing.Union[str, ros_cdk_core.IResolvable] Property topicName: The name of the topic to be created is used to identify the topic and is globally unique.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remark of the topic to be created.

instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: The ID of the instance.


message_typeRequired

message_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property messageType: The message type of the topic to be created.

Valid values: NORMAL FIFO DELAY TRANSACTION


topic_nameRequired

topic_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property topicName: The name of the topic to be created is used to identify the topic and is globally unique.

Valid values: Character limitation: supports letters a~z or A-Z, numbers 0-9, underscore (_), dash (-) and percent sign (%). Length limit: 1-60 characters.


remarkOptional

remark: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property remark: The remark of the topic to be created.