UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

32 lines (31 loc) 895 B
import * as pulumi from "@pulumi/pulumi"; /** * Resource Type definition for AWS::MSK::Topic */ export declare function getTopic(args: GetTopicArgs, opts?: pulumi.InvokeOptions): Promise<GetTopicResult>; export interface GetTopicArgs { /** * The Amazon Resource Name (ARN) of the topic */ topicArn: string; } export interface GetTopicResult { /** * The number of partitions for the topic */ readonly partitionCount?: number; /** * The Amazon Resource Name (ARN) of the topic */ readonly topicArn?: string; } /** * Resource Type definition for AWS::MSK::Topic */ export declare function getTopicOutput(args: GetTopicOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTopicResult>; export interface GetTopicOutputArgs { /** * The Amazon Resource Name (ARN) of the topic */ topicArn: pulumi.Input<string>; }