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)

37 lines (36 loc) 1.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The AWS::ObservabilityAdmin::TelemetryRule resource defines a CloudWatch Observability Admin Telemetry Rule. */ export declare function getTelemetryRule(args: GetTelemetryRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetTelemetryRuleResult>; export interface GetTelemetryRuleArgs { /** * The arn of the telemetry rule */ ruleArn: string; } export interface GetTelemetryRuleResult { /** * Retrieves the details of a specific telemetry rule in your account. */ readonly rule?: outputs.observabilityadmin.TelemetryRule; /** * The arn of the telemetry rule */ readonly ruleArn?: string; /** * An array of key-value pairs to apply to this resource */ readonly tags?: outputs.Tag[]; } /** * The AWS::ObservabilityAdmin::TelemetryRule resource defines a CloudWatch Observability Admin Telemetry Rule. */ export declare function getTelemetryRuleOutput(args: GetTelemetryRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTelemetryRuleResult>; export interface GetTelemetryRuleOutputArgs { /** * The arn of the telemetry rule */ ruleArn: pulumi.Input<string>; }