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)

43 lines (42 loc) 1.4 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::IoT::TopicRule */ export declare function getTopicRule(args: GetTopicRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetTopicRuleResult>; export interface GetTopicRuleArgs { /** * The name of the rule. */ ruleName: string; } export interface GetTopicRuleResult { /** * The Amazon Resource Name (ARN) of the AWS IoT rule, such as `arn:aws:iot:us-east-2:123456789012:rule/MyIoTRule` . */ readonly arn?: string; /** * Metadata which can be used to manage the topic rule. * * > For URI Request parameters use format: ...key1=value1&key2=value2... * > * > For the CLI command-line parameter use format: --tags "key1=value1&key2=value2..." * > * > For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." */ readonly tags?: outputs.Tag[]; /** * The rule payload. */ readonly topicRulePayload?: outputs.iot.TopicRulePayload; } /** * Resource Type definition for AWS::IoT::TopicRule */ export declare function getTopicRuleOutput(args: GetTopicRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTopicRuleResult>; export interface GetTopicRuleOutputArgs { /** * The name of the rule. */ ruleName: pulumi.Input<string>; }