@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
65 lines (64 loc) • 2.13 kB
TypeScript
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",
* });
* ```
*/
/** @deprecated volcengine.iam.RolePolicyAttachments has been deprecated in favor of volcengine.iam.getRolePolicyAttachments */
export declare function rolePolicyAttachments(args: RolePolicyAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise<RolePolicyAttachmentsResult>;
/**
* A collection of arguments for invoking RolePolicyAttachments.
*/
export interface RolePolicyAttachmentsArgs {
/**
* The name of the role.
*/
roleName: string;
}
/**
* A collection of values returned by RolePolicyAttachments.
*/
export interface RolePolicyAttachmentsResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The collection of policies.
*/
readonly policies: outputs.iam.RolePolicyAttachmentsPolicy[];
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",
* });
* ```
*/
/** @deprecated volcengine.iam.RolePolicyAttachments has been deprecated in favor of volcengine.iam.getRolePolicyAttachments */
export declare function rolePolicyAttachmentsOutput(args: RolePolicyAttachmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RolePolicyAttachmentsResult>;
/**
* A collection of arguments for invoking RolePolicyAttachments.
*/
export interface RolePolicyAttachmentsOutputArgs {
/**
* The name of the role.
*/
roleName: pulumi.Input<string>;
}