import * as pulumi from "@pulumi/pulumi"; /** * With Auth0, you can create custom Javascript snippets that run in a secure, isolated sandbox as part of your authentication pipeline, which are otherwise known as rules. This resource allows you to create and manage variables that are available to all rules via Auth0's global configuration object. Used in conjunction with configured rules. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myRule = new auth0.Rule("my_rule", { * name: "empty-rule", * script: ` function (user, context, callback) { * callback(null, user, context); * } * `, * enabled: true, * }); * const myRuleConfig = new auth0.RuleConfig("my_rule_config", { * key: "foo", * value: "bar", * }); * ``` * * ## Import * * Existing rule configs can be imported using their key name. * * Example: * * ```sh * $ pulumi import auth0:index/ruleConfig:RuleConfig my_rule_config "foo" * ``` */ export declare class RuleConfig extends pulumi.CustomResource { /** * Get an existing RuleConfig resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RuleConfigState, opts?: pulumi.CustomResourceOptions): RuleConfig; /** * Returns true if the given object is an instance of RuleConfig. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RuleConfig; /** * Key for a rules configuration variable. */ readonly key: pulumi.Output; /** * Value for a rules configuration variable. */ readonly value: pulumi.Output; /** * Create a RuleConfig resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RuleConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RuleConfig resources. */ export interface RuleConfigState { /** * Key for a rules configuration variable. */ key?: pulumi.Input; /** * Value for a rules configuration variable. */ value?: pulumi.Input; } /** * The set of arguments for constructing a RuleConfig resource. */ export interface RuleConfigArgs { /** * Key for a rules configuration variable. */ key: pulumi.Input; /** * Value for a rules configuration variable. */ value: pulumi.Input; }