import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of iam role policy attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getRolePolicyAttachments({ * roleName: "CustomRoleForPatchManager", * }); * ``` */ export declare function getRolePolicyAttachments(args: GetRolePolicyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsArgs { /** * The name of the role. */ roleName: string; } /** * A collection of values returned by getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The collection of policies. */ readonly policies: outputs.iam.GetRolePolicyAttachmentsPolicy[]; readonly roleName: string; } /** * Use this data source to query detailed information of iam role policy attachments * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.iam.getRolePolicyAttachments({ * roleName: "CustomRoleForPatchManager", * }); * ``` */ export declare function getRolePolicyAttachmentsOutput(args: GetRolePolicyAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsOutputArgs { /** * The name of the role. */ roleName: pulumi.Input; }