TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-topic
Initializer
import { TopicProps } from '@alicloud/ros-cdk-rocketmq5'
const topicProps: TopicProps = { ... }
Properties
Name | Type | Description |
---|---|---|
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: The ID of the instance. |
messageType |
string | @alicloud/ros-cdk-core.IResolvable |
Property messageType: The message type of the topic to be created. |
topicName |
string | @alicloud/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 |
string | @alicloud/ros-cdk-core.IResolvable |
Property remark: The remark of the topic to be created. |
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: The ID of the instance.
messageType
Required
public readonly messageType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property messageType: The message type of the topic to be created.
Valid values: NORMAL FIFO DELAY TRANSACTION
topicName
Required
public readonly topicName: string | IResolvable;
- Type: string | @alicloud/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.
remark
Optional
public readonly remark: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property remark: The remark of the topic to be created.