Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Project : KotlinCustomResource

The project is the basic unit of resource management in Datahub Service and is used to isolate and control resources. It contains a set of Topics. You can manage the datahub sources of an application by using projects. Refer to details.

Link copied to clipboard
data class ProjectArgs(val comment: Output<String>? = null, val name: Output<String>? = null) : ConvertibleToJava<ProjectArgs>

The project is the basic unit of resource management in Datahub Service and is used to isolate and control resources. It contains a set of Topics. You can manage the datahub sources of an application by using projects. Refer to details.

Link copied to clipboard
Link copied to clipboard
object ProjectMapper : ResourceMapper<Project>
Link copied to clipboard
Link copied to clipboard
class Subscription : KotlinCustomResource

The subscription is the basic unit of resource usage in Datahub Service under Publish/Subscribe model. You can manage the relationships between user and topics by using subscriptions. Refer to details.

Link copied to clipboard
data class SubscriptionArgs(val comment: Output<String>? = null, val projectName: Output<String>? = null, val topicName: Output<String>? = null) : ConvertibleToJava<SubscriptionArgs>

The subscription is the basic unit of resource usage in Datahub Service under Publish/Subscribe model. You can manage the relationships between user and topics by using subscriptions. Refer to details.

Link copied to clipboard
Link copied to clipboard
object SubscriptionMapper : ResourceMapper<Subscription>
Link copied to clipboard
Link copied to clipboard
class Topic : KotlinCustomResource

The topic is the basic unit of Datahub data source and is used to define one kind of data or stream. It contains a set of subscriptions. You can manage the datahub source of an application by using topics. Refer to details.

Link copied to clipboard
data class TopicArgs(val comment: Output<String>? = null, val lifeCycle: Output<Int>? = null, val name: Output<String>? = null, val projectName: Output<String>? = null, val recordSchema: Output<Map<String, String>>? = null, val recordType: Output<String>? = null, val shardCount: Output<Int>? = null) : ConvertibleToJava<TopicArgs>

The topic is the basic unit of Datahub data source and is used to define one kind of data or stream. It contains a set of subscriptions. You can manage the datahub source of an application by using topics. Refer to details.

Link copied to clipboard

Builder for TopicArgs.

Link copied to clipboard
object TopicMapper : ResourceMapper<Topic>
Link copied to clipboard

Builder for Topic.

Functions

Link copied to clipboard
fun project(name: String): Project
suspend fun project(name: String, block: suspend ProjectResourceBuilder.() -> Unit): Project
Link copied to clipboard
Link copied to clipboard
fun topic(name: String): Topic
suspend fun topic(name: String, block: suspend TopicResourceBuilder.() -> Unit): Topic