命名空间:microsoft.graph
重要
Microsoft Graph /beta 版本下的 API 可能会发生更改。 不支持在生产应用程序中使用这些 API。 若要确定 API 是否在 v1.0 中可用,请使用 版本 选择器。
注意
自 2025 年 4 月 1 日起,Microsoft Entra 权限管理将不再可供购买,我们将在 2025 年 10 月 1 日停用并停止对该产品的支持。 详细信息可在 此处找到。
代表 AWS 角色。 AWS 角色是一种具有权限策略的 AWS 身份,用于确定身份在 AWS 中可以和不可执行的操作。 但是,与 AWS 用户不同的是,AWS 角色并不与一个人唯一关联,但可以由任何需要它的身份承担。
继承自 awsIdentity。
方法
| 方法 | 返回类型 | Description |
|---|---|---|
| List | awsRole | 获取 awsRole 对象及其属性的列表。 |
| Get | awsRole | 读取 awsRole 对象的属性和关系。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| displayName | String | 对象的名称。 支持 $filter (eq、contains) 。 继承自 authorizationSystemIdentity。 |
| externalId | String | AWS 定义的角色 ID。 继承自 authorizationSystemIdentity。 |
| id | String | 权限管理中角色的 ID。 继承自 entity。 |
| source | authorizationSystemIdentitySource | 授权系统标识的源。 继承自 authorizationSystemIdentity。 |
| trustEntityType | awsRoleTrustEntityType | 角色信任的类型。 可能的值包括 none、service、sso、crossAccount、webIdentity、unknownFutureValue。 |
| roleType | awsRoleType | 指示角色是 OR systemcustom 角色。 支持 $filter(eq)。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| authorizationSystem | authorizationSystem | 表示授权系统。 继承自 authorizationSystemIdentity |
JSON 表示形式
以下 JSON 表示形式显示资源类型。
{
"@odata.type": "#microsoft.graph.awsRole",
"id": "String (identifier)",
"displayName": "String",
"source": {
"@odata.type": "microsoft.graph.authorizationSystemIdentitySource"
},
"externalId": "String",
"trustEntityType": "String",
"roleType": "String"
}