import * as pulumi from "@pulumi/pulumi"; /** * Creates a Rule (a.k.a Redis Rule, Redis ACL) in your Redis Enterprise Cloud Account. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as rediscloud from "@rediscloud/pulumi-rediscloud"; * * const rule_resource = new rediscloud.AclRule("rule-resource", {rule: "+@read ~cache:*"}); * ``` * * ## Import * * `rediscloud_acl_rule` can be imported using the Identifier of the Rule, e.g. * * ```sh * $ pulumi import rediscloud:index/aclRule:AclRule rule-resource 123456 * ``` */ export declare class AclRule extends pulumi.CustomResource { /** * Get an existing AclRule 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?: AclRuleState, opts?: pulumi.CustomResourceOptions): AclRule; /** * Returns true if the given object is an instance of AclRule. 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 AclRule; /** * A meaningful name for the rule. Must be unique. */ readonly name: pulumi.Output; /** * The ACL rule itself, built up as permissions/restrictions written in * the [ACL Syntax](https://docs.redis.com/latest/rc/security/access-control/data-access-control/configure-acls/#define-permissions-with-acl-syntax). */ readonly rule: pulumi.Output; /** * Create a AclRule 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: AclRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AclRule resources. */ export interface AclRuleState { /** * A meaningful name for the rule. Must be unique. */ name?: pulumi.Input; /** * The ACL rule itself, built up as permissions/restrictions written in * the [ACL Syntax](https://docs.redis.com/latest/rc/security/access-control/data-access-control/configure-acls/#define-permissions-with-acl-syntax). */ rule?: pulumi.Input; } /** * The set of arguments for constructing a AclRule resource. */ export interface AclRuleArgs { /** * A meaningful name for the rule. Must be unique. */ name?: pulumi.Input; /** * The ACL rule itself, built up as permissions/restrictions written in * the [ACL Syntax](https://docs.redis.com/latest/rc/security/access-control/data-access-control/configure-acls/#define-permissions-with-acl-syntax). */ rule: pulumi.Input; }