import * as pulumi from "@pulumi/pulumi"; /** * Allows creation and management of the IAM policy for an existing Yandex Resource * Manager folder. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as yandex from "@pulumi/yandex"; * * const project1 = pulumi.output(yandex.getResourcemanagerFolder({ * folderId: "my_folder_id", * })); * const admin = pulumi.output(yandex.getIamPolicy({ * bindings: [{ * members: ["userAccount:some_user_id"], * role: "editor", * }], * })); * const folderAdminPolicy = new yandex.ResourcemanagerFolderIamPolicy("folder_admin_policy", { * folderId: yandex_folder_project1.id, * policyData: admin.policyData, * }); * ``` */ export declare class ResourcemanagerFolderIamPolicy extends pulumi.CustomResource { /** * Get an existing ResourcemanagerFolderIamPolicy 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?: ResourcemanagerFolderIamPolicyState, opts?: pulumi.CustomResourceOptions): ResourcemanagerFolderIamPolicy; /** * Returns true if the given object is an instance of ResourcemanagerFolderIamPolicy. 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 ResourcemanagerFolderIamPolicy; /** * ID of the folder that the policy is attached to. */ readonly folderId: pulumi.Output; /** * The `yandex.getIamPolicy` data source that represents * the IAM policy that will be applied to the folder. This policy overrides any existing policy applied to the folder. */ readonly policyData: pulumi.Output; /** * Create a ResourcemanagerFolderIamPolicy 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: ResourcemanagerFolderIamPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ResourcemanagerFolderIamPolicy resources. */ export interface ResourcemanagerFolderIamPolicyState { /** * ID of the folder that the policy is attached to. */ folderId?: pulumi.Input; /** * The `yandex.getIamPolicy` data source that represents * the IAM policy that will be applied to the folder. This policy overrides any existing policy applied to the folder. */ policyData?: pulumi.Input; } /** * The set of arguments for constructing a ResourcemanagerFolderIamPolicy resource. */ export interface ResourcemanagerFolderIamPolicyArgs { /** * ID of the folder that the policy is attached to. */ folderId: pulumi.Input; /** * The `yandex.getIamPolicy` data source that represents * the IAM policy that will be applied to the folder. This policy overrides any existing policy applied to the folder. */ policyData: pulumi.Input; }