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)

57 lines (56 loc) 2.26 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required). */ export declare function getCaseRule(args: GetCaseRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetCaseRuleResult>; export interface GetCaseRuleArgs { /** * The Amazon Resource Name (ARN) of a case rule. */ caseRuleArn: string; } export interface GetCaseRuleResult { /** * The Amazon Resource Name (ARN) of a case rule. */ readonly caseRuleArn?: string; /** * The unique identifier of a case rule. */ readonly caseRuleId?: string; /** * The time at which the case rule was created. */ readonly createdTime?: string; /** * A description explaining the purpose and behavior of this case rule. Helps administrators understand when and why this rule applies to case fields. */ readonly description?: string; /** * The time at which the case rule was created or last modified. */ readonly lastModifiedTime?: string; /** * A descriptive name for the case rule. Must be unique within the domain and should clearly indicate the rule's purpose (e.g., 'Priority Field Required for Urgent Cases'). */ readonly name?: string; /** * Represents what rule type should take place, under what conditions. */ readonly rule?: outputs.cases.CaseRuleDetails0Properties | outputs.cases.CaseRuleDetails1Properties; /** * The tags that you attach to this case rule. */ readonly tags?: outputs.Tag[]; } /** * A case rule. In the Amazon Connect admin website, case rules are known as case field conditions. Case rules are used to define the situations under which fields should have certain effects (such as required). */ export declare function getCaseRuleOutput(args: GetCaseRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCaseRuleResult>; export interface GetCaseRuleOutputArgs { /** * The Amazon Resource Name (ARN) of a case rule. */ caseRuleArn: pulumi.Input<string>; }