import * as pulumi from "@pulumi/pulumi";
/**
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as consul from "@pulumi/consul";
 *
 * const myRole = consul.getAclRole({
 *     name: "my_role",
 * });
 * const readPolicy = new consul.AclPolicy("read_policy", {
 *     name: "read-policy",
 *     rules: "node \"\" { policy = \"read\" }",
 *     datacenters: ["dc1"],
 * });
 * const myRoleReadPolicy = new consul.AclRolePolicyAttachment("my_role_read_policy", {
 *     roleId: test.id,
 *     policy: readPolicy.name,
 * });
 * ```
 *
 * ## Import
 *
 * ```sh
 * $ pulumi import consul:index/aclRolePolicyAttachment:AclRolePolicyAttachment my_role_read_policy 624d94ca-bc5c-f960-4e83-0a609cf588be:policy_name
 * ```
 */
export declare class AclRolePolicyAttachment extends pulumi.CustomResource {
    /**
     * Get an existing AclRolePolicyAttachment 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<pulumi.ID>, state?: AclRolePolicyAttachmentState, opts?: pulumi.CustomResourceOptions): AclRolePolicyAttachment;
    /**
     * Returns true if the given object is an instance of AclRolePolicyAttachment.  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 AclRolePolicyAttachment;
    /**
     * The policy name.
     */
    readonly policy: pulumi.Output<string>;
    /**
     * The id of the role.
     */
    readonly roleId: pulumi.Output<string>;
    /**
     * Create a AclRolePolicyAttachment 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: AclRolePolicyAttachmentArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AclRolePolicyAttachment resources.
 */
export interface AclRolePolicyAttachmentState {
    /**
     * The policy name.
     */
    policy?: pulumi.Input<string>;
    /**
     * The id of the role.
     */
    roleId?: pulumi.Input<string>;
}
/**
 * The set of arguments for constructing a AclRolePolicyAttachment resource.
 */
export interface AclRolePolicyAttachmentArgs {
    /**
     * The policy name.
     */
    policy: pulumi.Input<string>;
    /**
     * The id of the role.
     */
    roleId: pulumi.Input<string>;
}
