Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
Data Source schema for Byteplus::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: bytepluscc: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 - 角色创建时间。
- Description string
- 角色描述,长度不超过128。
- Display
Name string - 角色显示名,长度不超过64。
- Id string
- Uniquely identifies the resource.
- Is
Service intLinked Role - 是否是服务关联角色, 0否,1是。
- Max
Session intDuration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- Policies
List<Byteplus.
Get Role Policy> - 角色策略。
- Role
Id int - 角色ID。
- Role
Name string - 角色名,长度1~64,支持英文、数字和.-_符号。
-
List<Byteplus.
Get Role Tag> - 标签。
- Trn string
- 角色TRN。
- Trust
Policy stringDocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- Update
Date string - 角色更新时间。
- Create
Date string - 角色创建时间。
- Description string
- 角色描述,长度不超过128。
- Display
Name string - 角色显示名,长度不超过64。
- Id string
- Uniquely identifies the resource.
- Is
Service intLinked Role - 是否是服务关联角色, 0否,1是。
- Max
Session intDuration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- Policies
[]Get
Role Policy - 角色策略。
- Role
Id int - 角色ID。
- Role
Name string - 角色名,长度1~64,支持英文、数字和.-_符号。
-
[]Get
Role Tag - 标签。
- Trn string
- 角色TRN。
- Trust
Policy stringDocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- Update
Date string - 角色更新时间。
- create
Date String - 角色创建时间。
- description String
- 角色描述,长度不超过128。
- display
Name String - 角色显示名,长度不超过64。
- id String
- Uniquely identifies the resource.
- is
Service IntegerLinked Role - 是否是服务关联角色, 0否,1是。
- max
Session IntegerDuration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- policies
List<Get
Role Policy> - 角色策略。
- role
Id Integer - 角色ID。
- role
Name String - 角色名,长度1~64,支持英文、数字和.-_符号。
-
List<Get
Role Tag> - 标签。
- trn String
- 角色TRN。
- trust
Policy StringDocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- update
Date String - 角色更新时间。
- create
Date string - 角色创建时间。
- description string
- 角色描述,长度不超过128。
- display
Name string - 角色显示名,长度不超过64。
- id string
- Uniquely identifies the resource.
- is
Service numberLinked Role - 是否是服务关联角色, 0否,1是。
- max
Session numberDuration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- policies
Get
Role Policy[] - 角色策略。
- role
Id number - 角色ID。
- role
Name string - 角色名,长度1~64,支持英文、数字和.-_符号。
-
Get
Role Tag[] - 标签。
- trn string
- 角色TRN。
- trust
Policy stringDocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- update
Date string - 角色更新时间。
- create_
date str - 角色创建时间。
- description str
- 角色描述,长度不超过128。
- display_
name str - 角色显示名,长度不超过64。
- id str
- Uniquely identifies the resource.
- is_
service_ intlinked_ role - 是否是服务关联角色, 0否,1是。
- max_
session_ intduration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- policies
Sequence[Get
Role Policy] - 角色策略。
- role_
id int - 角色ID。
- role_
name str - 角色名,长度1~64,支持英文、数字和.-_符号。
-
Sequence[Get
Role Tag] - 标签。
- trn str
- 角色TRN。
- trust_
policy_ strdocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- update_
date str - 角色更新时间。
- create
Date String - 角色创建时间。
- description String
- 角色描述,长度不超过128。
- display
Name String - 角色显示名,长度不超过64。
- id String
- Uniquely identifies the resource.
- is
Service NumberLinked Role - 是否是服务关联角色, 0否,1是。
- max
Session NumberDuration - 角色最大会话时间,角色最大会话时间。用于限制角色扮演产生的临时安全凭证的有效期的最大范围。取值范围:3600~43200,单位为秒,默认为43200。
- policies List<Property Map>
- 角色策略。
- role
Id Number - 角色ID。
- role
Name String - 角色名,长度1~64,支持英文、数字和.-_符号。
- List<Property Map>
- 标签。
- trn String
- 角色TRN。
- trust
Policy StringDocument - 角色信任策略,信任策略遵循IAM的策略语法中基于资源的策略规则。
- update
Date String - 角色更新时间。
Supporting Types
GetRolePolicy
- Policy
Name string - 策略名。
- Policy
Type string - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
- Policy
Name string - 策略名。
- Policy
Type string - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
- policy
Name String - 策略名。
- policy
Type String - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
- policy
Name string - 策略名。
- policy
Type string - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
- policy_
name str - 策略名。
- policy_
type str - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
- policy
Name String - 策略名。
- policy
Type String - 策略类型,策略类型。System代表系统预设策略,Custom代表自定义策略。
GetRoleTag
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.16
published on Monday, Mar 9, 2026 by Byteplus
published on Monday, Mar 9, 2026 by Byteplus
