We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Resource Type definition for AWS::MSK::Topic
Using getTopic
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 getTopic(args: GetTopicArgs, opts?: InvokeOptions): Promise<GetTopicResult>
function getTopicOutput(args: GetTopicOutputArgs, opts?: InvokeOptions): Output<GetTopicResult>def get_topic(topic_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTopicResult
def get_topic_output(topic_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTopicResult]func LookupTopic(ctx *Context, args *LookupTopicArgs, opts ...InvokeOption) (*LookupTopicResult, error)
func LookupTopicOutput(ctx *Context, args *LookupTopicOutputArgs, opts ...InvokeOption) LookupTopicResultOutput> Note: This function is named LookupTopic in the Go SDK.
public static class GetTopic
{
public static Task<GetTopicResult> InvokeAsync(GetTopicArgs args, InvokeOptions? opts = null)
public static Output<GetTopicResult> Invoke(GetTopicInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTopicResult> getTopic(GetTopicArgs args, InvokeOptions options)
public static Output<GetTopicResult> getTopic(GetTopicArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:msk:getTopic
arguments:
# arguments dictionaryThe following arguments are supported:
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic
- topic
Arn String - The Amazon Resource Name (ARN) of the topic
- topic
Arn string - The Amazon Resource Name (ARN) of the topic
- topic_
arn str - The Amazon Resource Name (ARN) of the topic
- topic
Arn String - The Amazon Resource Name (ARN) of the topic
getTopic Result
The following output properties are available:
- Partition
Count int - The number of partitions for the topic
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic
- Partition
Count int - The number of partitions for the topic
- Topic
Arn string - The Amazon Resource Name (ARN) of the topic
- partition
Count Integer - The number of partitions for the topic
- topic
Arn String - The Amazon Resource Name (ARN) of the topic
- partition
Count number - The number of partitions for the topic
- topic
Arn string - The Amazon Resource Name (ARN) of the topic
- partition_
count int - The number of partitions for the topic
- topic_
arn str - The Amazon Resource Name (ARN) of the topic
- partition
Count Number - The number of partitions for the topic
- topic
Arn String - The Amazon Resource Name (ARN) of the topic
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
