TopicProps
Properties for defining a Topic.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-datahub-topic
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdatahub"
&alicloudroscdkdatahub.TopicProps {
Comment: interface{},
ProjectName: interface{},
RecordType: interface{},
TopicName: interface{},
Lifecycle: interface{},
RecordSchema: interface{},
ShardCount: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Comment | interface{} | Property comment: The comment of topic. |
ProjectName | interface{} | Property projectName: The name of the project. |
RecordType | interface{} | Property recordType: Record type. |
TopicName | interface{} | Property topicName: The name of the topic. |
Lifecycle | interface{} | Property lifecycle: Data storage life cycle. |
RecordSchema | interface{} | Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter. |
ShardCount | interface{} | Property shardCount: Initial shard number. |
CommentRequired
Comment interface{}
- Type: interface{}
Property comment: The comment of topic.
ProjectNameRequired
ProjectName interface{}
- Type: interface{}
Property projectName: The name of the project.
Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.
RecordTypeRequired
RecordType interface{}
- Type: interface{}
Property recordType: Record type.
TUPLE: structured data, BLOB: unstructured data.
TopicNameRequired
TopicName interface{}
- Type: interface{}
Property topicName: The name of the topic.
Length [3, 64]. Beginning with characters, only characters, numbers and _ are allowed.
LifecycleOptional
Lifecycle interface{}
- Type: interface{}
Property lifecycle: Data storage life cycle.
RecordSchemaOptional
RecordSchema interface{}
- Type: interface{}
Property recordSchema: When creating a TUPLE type topic, you need to specify the schema, but the BLOB type does not pass this parameter.
ShardCountOptional
ShardCount interface{}
- Type: interface{}
Property shardCount: Initial shard number.