"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCaseRuleOutput = exports.getCaseRule = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * 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).
 */
function getCaseRule(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("aws-native:cases:getCaseRule", {
        "caseRuleArn": args.caseRuleArn,
    }, opts);
}
exports.getCaseRule = getCaseRule;
/**
 * 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).
 */
function getCaseRuleOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("aws-native:cases:getCaseRule", {
        "caseRuleArn": args.caseRuleArn,
    }, opts);
}
exports.getCaseRuleOutput = getCaseRuleOutput;
//# sourceMappingURL=getCaseRule.js.map