Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
Data Source schema for Volcengine::IAM::Role
Using getRole
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRole(args: GetRoleArgs, opts?: InvokeOptions): Promise<GetRoleResult>
function getRoleOutput(args: GetRoleOutputArgs, opts?: InvokeOptions): Output<GetRoleResult>def get_role(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleResult
def get_role_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleResult]func LookupRole(ctx *Context, args *LookupRoleArgs, opts ...InvokeOption) (*LookupRoleResult, error)
func LookupRoleOutput(ctx *Context, args *LookupRoleOutputArgs, opts ...InvokeOption) LookupRoleResultOutput> Note: This function is named LookupRole in the Go SDK.
public static class GetRole
{
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions? opts = null)
public static Output<GetRoleResult> Invoke(GetRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
public static Output<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
fn::invoke:
function: volcenginecc:iam/getRole:getRole
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getRole Result
The following output properties are available:
- Create
Date string - Role creation time
- Description string
- Role description, maximum length 128
- Display
Name string - Role display name, maximum length 64
- Id string
- Uniquely identifies the resource.
- Is
Service intLinked Role - Service-linked role or not: 0 for No, 1 for Yes
- Max
Session intDuration - 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
- Policies
List<Volcengine.
Get Role Policy> - Role
Id int - Role ID
- Role
Name string - Role name, length 1–64, supports English letters, numbers, and .-_ characters
-
List<Volcengine.
Get Role Tag> - Trn string
- Role TRN
- Trust
Policy stringDocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- Update
Date string - Role update time
- Create
Date string - Role creation time
- Description string
- Role description, maximum length 128
- Display
Name string - Role display name, maximum length 64
- Id string
- Uniquely identifies the resource.
- Is
Service intLinked Role - Service-linked role or not: 0 for No, 1 for Yes
- Max
Session intDuration - 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
- Policies
[]Get
Role Policy - Role
Id int - Role ID
- Role
Name string - Role name, length 1–64, supports English letters, numbers, and .-_ characters
-
[]Get
Role Tag - Trn string
- Role TRN
- Trust
Policy stringDocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- Update
Date string - Role update time
- create
Date String - Role creation time
- description String
- Role description, maximum length 128
- display
Name String - Role display name, maximum length 64
- id String
- Uniquely identifies the resource.
- is
Service IntegerLinked Role - Service-linked role or not: 0 for No, 1 for Yes
- max
Session IntegerDuration - 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
- policies
List<Get
Role Policy> - role
Id Integer - Role ID
- role
Name String - Role name, length 1–64, supports English letters, numbers, and .-_ characters
-
List<Get
Role Tag> - trn String
- Role TRN
- trust
Policy StringDocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- update
Date String - Role update time
- create
Date string - Role creation time
- description string
- Role description, maximum length 128
- display
Name string - Role display name, maximum length 64
- id string
- Uniquely identifies the resource.
- is
Service numberLinked Role - Service-linked role or not: 0 for No, 1 for Yes
- max
Session numberDuration - 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
- policies
Get
Role Policy[] - role
Id number - Role ID
- role
Name string - Role name, length 1–64, supports English letters, numbers, and .-_ characters
-
Get
Role Tag[] - trn string
- Role TRN
- trust
Policy stringDocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- update
Date string - Role update time
- create_
date str - Role creation time
- description str
- Role description, maximum length 128
- display_
name str - Role display name, maximum length 64
- id str
- Uniquely identifies the resource.
- is_
service_ intlinked_ role - Service-linked role or not: 0 for No, 1 for Yes
- max_
session_ intduration - 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
- policies
Sequence[Get
Role Policy] - role_
id int - Role ID
- role_
name str - Role name, length 1–64, supports English letters, numbers, and .-_ characters
-
Sequence[Get
Role Tag] - trn str
- Role TRN
- trust_
policy_ strdocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- update_
date str - Role update time
- create
Date String - Role creation time
- description String
- Role description, maximum length 128
- display
Name String - Role display name, maximum length 64
- id String
- Uniquely identifies the resource.
- is
Service NumberLinked Role - Service-linked role or not: 0 for No, 1 for Yes
- max
Session NumberDuration - 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
- policies List<Property Map>
- role
Id Number - Role ID
- role
Name String - Role name, length 1–64, supports English letters, numbers, and .-_ characters
- List<Property Map>
- trn String
- Role TRN
- trust
Policy StringDocument - Role trust policy. The trust policy follows resource-based policy rules in IAM policy syntax.
- update
Date String - Role update time
Supporting Types
GetRolePolicy
- Policy
Name string - Policy name
- Policy
Type string - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- Policy
Name string - Policy name
- Policy
Type string - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
Name String - Policy name
- policy
Type String - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
Name string - Policy name
- policy
Type string - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy_
name str - Policy name
- policy_
type str - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
- policy
Name String - Policy name
- policy
Type String - Policy type. Policy type. System indicates a system preset policy; Custom indicates a custom policy.
GetRoleTag
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.32
published on Thursday, Apr 23, 2026 by Volcengine
published on Thursday, Apr 23, 2026 by Volcengine
