Role access
Reference for what a role grants: the workspaces it reaches, and the products, features, and data resources it covers, with the matching input types.
What a role grants: the workspaces it reaches, and the products, features, and data resources it covers, with the input types that set them.
Objects
IamSelection
A choice among a set of items: every current and future item when all is true, exactly items otherwise. What an item is depends on the field: a workspace id for IamRole.workspaces, a feature code for IamRoleProductScope.features, a data-resource item id for IamRoleDataResourceGrant.items.
all
Boolean!
Whether every current and future item is selected. items is empty when this is true.
items
[String!]!
The selected items when all is false.
IamRoleItemActions
The actions a role grants on one data-resource item, in place of its grant's actions.
itemId
String!
IAM's id for the data-resource item.
actions
[String!]!
The actions granted on this item.
IamRoleDataResourceGrant
What a role grants on one data-resource type of a product.
actions
[String!]!
The actions granted on every covered item, unless itemActions names the item.
itemActions
Per-item overrides: an item listed here gets these actions instead of actions.
IamRoleDataResources
The data resources a role grants within one product.
all
Boolean!
Whether every data resource of the product is granted. byType is empty when this is true.
byType
One grant per data-resource type when all is false, ordered by resourceType.
IamRoleProductScope
What a role grants within one product.
IamRoleProductScopes
The products a role grants.
all
Boolean!
Whether the role grants every product. specific is empty when this is true.
Inputs
IamSelectionInput
A selection to store: every current and future item when all is true, exactly items otherwise.
all
Boolean!
Whether every current and future item is selected. items must then be empty.
items
[String!]!
The selected items when all is false.
IamRoleItemActionsInput
The actions to grant on one data-resource item, in place of its grant's actions.
itemId
String!
IAM's id for the data-resource item. At most once per grant.
actions
[String!]!
The actions to grant on this item.
IamRoleDataResourceGrantInput
What to grant on one data-resource type of a product.
actions
[String!]!
The actions to grant on every covered item, unless itemActions names the item.
IamRoleDataResourcesInput
The data resources to grant within one product.
all
Boolean!
Whether to grant every data resource of the product. byType must then be empty.
IamRoleProductScopeInput
What to grant within one product.
IamRoleProductScopesInput
The products to grant.
all
Boolean!
Whether to grant every product. specific must then be empty.
See also
Last updated
Was this helpful?