Module Values.EntityItemSource

Contains 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" } ] }

Sourcetype nonrec t = {
  1. identifier : EntityIdentifier.t;
    (*

    The identifier of the entity.

    *)
  2. attributes : EntityAttributes.t option;
    (*

    A list of attributes for the entity.

    *)
  3. 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.

    *)
  4. tags : EntityCedarTags.t option;
    (*

    A list of cedar tags for the entity.

    *)
}
Sourceval context_ : string
Sourceval make : ?attributes:??? -> ?parents:??? -> ?tags:??? -> identifier:EntityIdentifier.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t