import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::IAM::Role */ export declare function getRole(args: GetRoleArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRole. */ export interface GetRoleArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getRole. */ export interface GetRoleResult { /** * Role creation time */ readonly createDate: string; /** * Role description, maximum length 128 */ readonly description: string; /** * Role display name, maximum length 64 */ readonly displayName: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Service-linked role or not: 0 for No, 1 for Yes */ readonly isServiceLinkedRole: number; /** * Maximum session duration for the role. Maximum session duration for the role. Limits the maximum validity period of temporary security credentials generated by role assumption. Value range: 3600–43200, unit: seconds, default is 43200 */ readonly maxSessionDuration: number; /** * Role Strategy */ readonly policies: outputs.iam.GetRolePolicy[]; /** * Role ID */ readonly roleId: number; /** * Role name, length 1–64, supports English letters, numbers, and .-_ characters */ readonly roleName: string; /** * Service associated with the service-linked role to be created. */ readonly serviceName: string; /** * Tag */ readonly tags: outputs.iam.GetRoleTag[]; /** * Role TRN */ readonly trn: string; /** * Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax. */ readonly trustPolicyDocument: string; /** * Role update time */ readonly updateDate: string; } /** * Data Source schema for Volcengine::IAM::Role */ export declare function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getRole. */ export interface GetRoleOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }