import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about the managed policies attached to an AWS IAM Role. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.iam.getRolePolicyAttachments({ * roleName: "example-role", * }); * ``` */ export declare function getRolePolicyAttachments(args: GetRolePolicyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsArgs { /** * Path prefix for filtering the results. */ pathPrefix?: string; /** * Name of the IAM role. * * The following arguments are optional: */ roleName: string; } /** * A collection of values returned by getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsResult { /** * List of attached managed policies. See below. */ readonly attachedPolicies: outputs.iam.GetRolePolicyAttachmentsAttachedPolicy[]; readonly pathPrefix?: string; readonly roleName: string; } /** * Provides details about the managed policies attached to an AWS IAM Role. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.iam.getRolePolicyAttachments({ * roleName: "example-role", * }); * ``` */ export declare function getRolePolicyAttachmentsOutput(args: GetRolePolicyAttachmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRolePolicyAttachments. */ export interface GetRolePolicyAttachmentsOutputArgs { /** * Path prefix for filtering the results. */ pathPrefix?: pulumi.Input; /** * Name of the IAM role. * * The following arguments are optional: */ roleName: pulumi.Input; } //# sourceMappingURL=getRolePolicyAttachments.d.ts.map