TopicProps
Properties for defining a Topic
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-datahub-topic
Initializer
import ros_cdk_datahub
ros_cdk_datahub.TopicProps(
comment: typing.Union[str, IResolvable],
project_name: typing.Union[str, IResolvable],
record_type: typing.Union[str, IResolvable],
topic_name: typing.Union[str, IResolvable],
lifecycle: typing.Union[typing.Union[int, float], IResolvable] = None,
record_schema: typing.Union[str, IResolvable] = None,
shard_count: typing.Union[typing.Union[int, float], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
comment |
typing.Union[str, ros_cdk_core.IResolvable] |
Property comment: The comment of topic. |
project_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property projectName: The name of the project. |
record_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property recordType: Record type. |
topic_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property topicName: The name of the topic. |
lifecycle |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property lifecycle: Data storage life cycle. |
record_schema |
typing.Union[str, ros_cdk_core.IResolvable] |
Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter. |
shard_count |
typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] |
Property shardCount: Initial shard number. |
comment
Required
comment: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property comment: The comment of topic.
project_name
Required
project_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property projectName: The name of the project.
Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.
record_type
Required
record_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property recordType: Record type.
TUPLE: structured data, BLOB: unstructured data.
topic_name
Required
topic_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property topicName: The name of the topic.
Length [3, 64]. Beginning with characters, only characters, numbers and _ are allowed.
lifecycle
Optional
lifecycle: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property lifecycle: Data storage life cycle.
record_schema
Optional
record_schema: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter.
shard_count
Optional
shard_count: typing.Union[typing.Union[int, float], IResolvable]
- Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]
Property shardCount: Initial shard number.