Viewing docs for Confluent v2.69.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
Viewing docs for Confluent v2.69.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
confluentcloud.RtceTopic describes a RtceTopic data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
export = async () => {
const example = await confluentcloud.getRtceTopic({
topicName: "orders_topic",
environment: {
id: "env-xyz456",
},
kafkaCluster: {
id: "lkc-abc123",
},
});
return {
example: example,
};
}
import pulumi
import pulumi_confluentcloud as confluentcloud
example = confluentcloud.get_rtce_topic(topic_name="orders_topic",
environment={
"id": "env-xyz456",
},
kafka_cluster={
"id": "lkc-abc123",
})
pulumi.export("example", example)
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/v2/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := confluentcloud.GetRtceTopic(ctx, &confluentcloud.LookupRtceTopicArgs{
TopicName: "orders_topic",
Environment: confluentcloud.GetRtceTopicEnvironment{
Id: "env-xyz456",
},
KafkaCluster: confluentcloud.GetRtceTopicKafkaCluster{
Id: "lkc-abc123",
},
}, nil)
if err != nil {
return err
}
ctx.Export("example", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var example = ConfluentCloud.GetRtceTopic.Invoke(new()
{
TopicName = "orders_topic",
Environment = new ConfluentCloud.Inputs.GetRtceTopicEnvironmentInputArgs
{
Id = "env-xyz456",
},
KafkaCluster = new ConfluentCloud.Inputs.GetRtceTopicKafkaClusterInputArgs
{
Id = "lkc-abc123",
},
});
return new Dictionary<string, object?>
{
["example"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.ConfluentcloudFunctions;
import com.pulumi.confluentcloud.inputs.GetRtceTopicArgs;
import com.pulumi.confluentcloud.inputs.GetRtceTopicEnvironmentArgs;
import com.pulumi.confluentcloud.inputs.GetRtceTopicKafkaClusterArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ConfluentcloudFunctions.getRtceTopic(GetRtceTopicArgs.builder()
.topicName("orders_topic")
.environment(GetRtceTopicEnvironmentArgs.builder()
.id("env-xyz456")
.build())
.kafkaCluster(GetRtceTopicKafkaClusterArgs.builder()
.id("lkc-abc123")
.build())
.build());
ctx.export("example", example);
}
}
variables:
example:
fn::invoke:
function: confluentcloud:getRtceTopic
arguments:
topicName: orders_topic
environment:
id: env-xyz456
kafkaCluster:
id: lkc-abc123
outputs:
example: ${example}
Example coming soon!
Using getRtceTopic
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRtceTopic(args: GetRtceTopicArgs, opts?: InvokeOptions): Promise<GetRtceTopicResult>
function getRtceTopicOutput(args: GetRtceTopicOutputArgs, opts?: InvokeOptions): Output<GetRtceTopicResult>def get_rtce_topic(environment: Optional[GetRtceTopicEnvironment] = None,
kafka_cluster: Optional[GetRtceTopicKafkaCluster] = None,
topic_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRtceTopicResult
def get_rtce_topic_output(environment: pulumi.Input[Optional[GetRtceTopicEnvironmentArgs]] = None,
kafka_cluster: pulumi.Input[Optional[GetRtceTopicKafkaClusterArgs]] = None,
topic_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRtceTopicResult]func LookupRtceTopic(ctx *Context, args *LookupRtceTopicArgs, opts ...InvokeOption) (*LookupRtceTopicResult, error)
func LookupRtceTopicOutput(ctx *Context, args *LookupRtceTopicOutputArgs, opts ...InvokeOption) LookupRtceTopicResultOutput> Note: This function is named LookupRtceTopic in the Go SDK.
public static class GetRtceTopic
{
public static Task<GetRtceTopicResult> InvokeAsync(GetRtceTopicArgs args, InvokeOptions? opts = null)
public static Output<GetRtceTopicResult> Invoke(GetRtceTopicInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRtceTopicResult> getRtceTopic(GetRtceTopicArgs args, InvokeOptions options)
public static Output<GetRtceTopicResult> getRtceTopic(GetRtceTopicArgs args, InvokeOptions options)
fn::invoke:
function: confluentcloud:index/getRtceTopic:getRtceTopic
arguments:
# arguments dictionarydata "confluentcloud_getrtcetopic" "name" {
# arguments
}The following arguments are supported:
- Environment
Pulumi.
Confluent Cloud. Inputs. Get Rtce Topic Environment - Supports the following:
- Kafka
Cluster Pulumi.Confluent Cloud. Inputs. Get Rtce Topic Kafka Cluster - The Kafka Cluster for the RtceTopic. Supports the following:
- Topic
Name string - The Kafka topic name containing the data for the RTCE topic.
- Environment
Get
Rtce Topic Environment - Supports the following:
- Kafka
Cluster GetRtce Topic Kafka Cluster - The Kafka Cluster for the RtceTopic. Supports the following:
- Topic
Name string - The Kafka topic name containing the data for the RTCE topic.
- environment object
- Supports the following:
- kafka_
cluster object - The Kafka Cluster for the RtceTopic. Supports the following:
- topic_
name string - The Kafka topic name containing the data for the RTCE topic.
- environment
Get
Rtce Topic Environment - Supports the following:
- kafka
Cluster GetRtce Topic Kafka Cluster - The Kafka Cluster for the RtceTopic. Supports the following:
- topic
Name String - The Kafka topic name containing the data for the RTCE topic.
- environment
Get
Rtce Topic Environment - Supports the following:
- kafka
Cluster GetRtce Topic Kafka Cluster - The Kafka Cluster for the RtceTopic. Supports the following:
- topic
Name string - The Kafka topic name containing the data for the RTCE topic.
- environment
Get
Rtce Topic Environment - Supports the following:
- kafka_
cluster GetRtce Topic Kafka Cluster - The Kafka Cluster for the RtceTopic. Supports the following:
- topic_
name str - The Kafka topic name containing the data for the RTCE topic.
- environment Property Map
- Supports the following:
- kafka
Cluster Property Map - The Kafka Cluster for the RtceTopic. Supports the following:
- topic
Name String - The Kafka topic name containing the data for the RTCE topic.
getRtceTopic Result
The following output properties are available:
- Api
Version string - (String) API Version defines the schema version of this representation of a resource.
- Cloud string
- (String) The cloud provider where the RTCE topic is deployed.
- Description string
- (String) A model-readable description of the RTCE topic.
- Environment
Pulumi.
Confluent Cloud. Outputs. Get Rtce Topic Environment - Id string
- The provider-assigned unique ID for this managed resource.
- Kafka
Cluster Pulumi.Confluent Cloud. Outputs. Get Rtce Topic Kafka Cluster - Kind string
- (String) Kind defines the object this REST resource represents.
- Region string
- (String) The cloud region where the RTCE topic is deployed.
- Resource
Name string - (String) The Confluent Resource Name of the resource.
- Topic
Name string
- Api
Version string - (String) API Version defines the schema version of this representation of a resource.
- Cloud string
- (String) The cloud provider where the RTCE topic is deployed.
- Description string
- (String) A model-readable description of the RTCE topic.
- Environment
Get
Rtce Topic Environment - Id string
- The provider-assigned unique ID for this managed resource.
- Kafka
Cluster GetRtce Topic Kafka Cluster - Kind string
- (String) Kind defines the object this REST resource represents.
- Region string
- (String) The cloud region where the RTCE topic is deployed.
- Resource
Name string - (String) The Confluent Resource Name of the resource.
- Topic
Name string
- api_
version string - (String) API Version defines the schema version of this representation of a resource.
- cloud string
- (String) The cloud provider where the RTCE topic is deployed.
- description string
- (String) A model-readable description of the RTCE topic.
- environment object
- id string
- The provider-assigned unique ID for this managed resource.
- kafka_
cluster object - kind string
- (String) Kind defines the object this REST resource represents.
- region string
- (String) The cloud region where the RTCE topic is deployed.
- resource_
name string - (String) The Confluent Resource Name of the resource.
- topic_
name string
- api
Version String - (String) API Version defines the schema version of this representation of a resource.
- cloud String
- (String) The cloud provider where the RTCE topic is deployed.
- description String
- (String) A model-readable description of the RTCE topic.
- environment
Get
Rtce Topic Environment - id String
- The provider-assigned unique ID for this managed resource.
- kafka
Cluster GetRtce Topic Kafka Cluster - kind String
- (String) Kind defines the object this REST resource represents.
- region String
- (String) The cloud region where the RTCE topic is deployed.
- resource
Name String - (String) The Confluent Resource Name of the resource.
- topic
Name String
- api
Version string - (String) API Version defines the schema version of this representation of a resource.
- cloud string
- (String) The cloud provider where the RTCE topic is deployed.
- description string
- (String) A model-readable description of the RTCE topic.
- environment
Get
Rtce Topic Environment - id string
- The provider-assigned unique ID for this managed resource.
- kafka
Cluster GetRtce Topic Kafka Cluster - kind string
- (String) Kind defines the object this REST resource represents.
- region string
- (String) The cloud region where the RTCE topic is deployed.
- resource
Name string - (String) The Confluent Resource Name of the resource.
- topic
Name string
- api_
version str - (String) API Version defines the schema version of this representation of a resource.
- cloud str
- (String) The cloud provider where the RTCE topic is deployed.
- description str
- (String) A model-readable description of the RTCE topic.
- environment
Get
Rtce Topic Environment - id str
- The provider-assigned unique ID for this managed resource.
- kafka_
cluster GetRtce Topic Kafka Cluster - kind str
- (String) Kind defines the object this REST resource represents.
- region str
- (String) The cloud region where the RTCE topic is deployed.
- resource_
name str - (String) The Confluent Resource Name of the resource.
- topic_
name str
- api
Version String - (String) API Version defines the schema version of this representation of a resource.
- cloud String
- (String) The cloud provider where the RTCE topic is deployed.
- description String
- (String) A model-readable description of the RTCE topic.
- environment Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- kafka
Cluster Property Map - kind String
- (String) Kind defines the object this REST resource represents.
- region String
- (String) The cloud region where the RTCE topic is deployed.
- resource
Name String - (String) The Confluent Resource Name of the resource.
- topic
Name String
Supporting Types
GetRtceTopicEnvironment
- Id string
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- Id string
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- id string
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- id String
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- id string
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- id str
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
- id String
- The ID of the Environment that the RtceTopic belongs to, for example,
env-xyz456.
GetRtceTopicKafkaCluster
- Id string
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- Id string
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- id string
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- id String
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- id string
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- id str
- The ID of the Kafka Cluster, for example,
lkc-abc123.
- id String
- The ID of the Kafka Cluster, for example,
lkc-abc123.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluentTerraform Provider.
Viewing docs for Confluent v2.69.0
published on Friday, May 15, 2026 by Pulumi
published on Friday, May 15, 2026 by Pulumi
