import * as pulumi from "@pulumi/pulumi"; /** * Get information on an Amazon MSK Topic. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.msk.getTopic({ * clusterArn: exampleAwsMskCluster.arn, * name: "example", * }); * ``` */ export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTopic. */ export interface GetTopicArgs { /** * ARN of the MSK cluster. */ clusterArn: string; /** * Name of the MSK topic. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; } /** * A collection of values returned by getTopic. */ export interface GetTopicResult { /** * ARN of the MSK topic. */ readonly arn: string; readonly clusterArn: string; /** * Aggregated Kafka configuration in JSON format for the topic. */ readonly configs: string; readonly name: string; /** * Number of partitions for the topic. */ readonly partitionCount: number; readonly region: string; /** * Replication factor for the topic. */ readonly replicationFactor: number; } /** * Get information on an Amazon MSK Topic. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.msk.getTopic({ * clusterArn: exampleAwsMskCluster.arn, * name: "example", * }); * ``` */ export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTopic. */ export interface GetTopicOutputArgs { /** * ARN of the MSK cluster. */ clusterArn: pulumi.Input; /** * Name of the MSK topic. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; } //# sourceMappingURL=getTopic.d.ts.map