Values.EntityItemSourceContains information about an entity that can be referenced in a Cedar policy. This data type is used as one of the fields in the EntitiesDefinition structure. { "identifier": { "entityType": "Photo", "entityId": "VacationPhoto94.jpg" }, "attributes": {}, "parents": [ { "entityType": "Album", "entityId": "alice_folder" } ] }
type nonrec t = {identifier : EntityIdentifier.t;The identifier of the entity.
*)attributes : EntityAttributes.t option;A list of attributes for the entity.
*)parents : ParentList.t option;The parent entities in the hierarchy that contains the entity. A principal or resource entity can be defined with at most 99 transitive parents per authorization request. A transitive parent is an entity in the hierarchy of entities including all direct parents, and parents of parents. For example, a user can be a member of 91 groups if one of those groups is a member of eight groups, for a total of 100: one entity, 91 entity parents, and eight parents of parents.
*)}val make :
?attributes:??? ->
?parents:??? ->
?tags:??? ->
identifier:EntityIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of EntityType.t ]) list ]
list
| `Map of ([> `String of String_.t ] * Awso.Botodata.value) list
| `Structure of (string * [> `String of EntityType.t ]) list ])
list ]