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. |
Comment
Required
Comment interface{}
- Type: interface{}
Property comment: The comment of topic.
ProjectName
Required
ProjectName interface{}
- Type: interface{}
Property projectName: The name of the project.
Length [3, 32]. Beginning with characters, only characters, numbers and _ are allowed.
RecordType
Required
RecordType interface{}
- Type: interface{}
Property recordType: Record type.
TUPLE: structured data, BLOB: unstructured data.
TopicName
Required
TopicName interface{}
- Type: interface{}
Property topicName: The name of the topic.
Length [3, 64]. Beginning with characters, only characters, numbers and _ are allowed.
Lifecycle
Optional
Lifecycle interface{}
- Type: interface{}
Property lifecycle: Data storage life cycle.
RecordSchema
Optional
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.
ShardCount
Optional
ShardCount interface{}
- Type: interface{}
Property shardCount: Initial shard number.