awsRole resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents an AWS role. An AWS role is an AWS identity with permission policies that determine what the identity can and can't do in AWS. However, unlike an AWS user, an AWS role isn't uniquely associated with one person but is assumable by any identity that needs it.

Inherits from awsIdentity.

Methods

Method Return type Description
List awsRole Get a list of the awsRole objects and their properties.
Get awsRole Read the properties and relationships of an awsRole object.

Properties

Property Type Description
displayName String The name of the object. Supports $filter (eq,contains). Inherited from authorizationSystemIdentity.
externalId String The ID for the role as defined by AWS. Inherited from authorizationSystemIdentity.
id String The ID for the role in Permissions Management. Inherited from entity.
source authorizationSystemIdentitySource The source of the authorization system identity. Inherited from authorizationSystemIdentity.
trustEntityType awsRoleTrustEntityType Types of role trusts. The possible values are: none, service, sso, crossAccount, webIdentity, unknownFutureValue.
roleType awsRoleType Indicates whether role is a system or custom role. Supports $filter (eq).

Relationships

Relationship Type Description
authorizationSystem authorizationSystem Represents the authorization system. Inherited from authorizationSystemIdentity

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.awsRole",
  "id": "String (identifier)",
  "displayName": "String",
  "source": {
    "@odata.type": "microsoft.graph.authorizationSystemIdentitySource"
  },
  "externalId": "String",
  "trustEntityType": "String",
  "roleType": "String"
}