Module Values.ContextEntrySource

Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition elements of the input policies. This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.

Sourcetype nonrec t = {
  1. contextKeyName : ContextKeyNameType.t option;
    (*

    The full name of a condition context key, including the service prefix. For example, aws:SourceIp or s3:VersionId.

    *)
  2. contextKeyValues : ContextKeyValueListType.t option;
    (*

    The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition element in an input policy.

    *)
  3. contextKeyType : ContextKeyTypeEnum.t option;
    (*

    The data type of the value (or values) specified in the ContextKeyValues parameter.

    *)
}
Sourceval make : ?contextKeyName:??? -> ?contextKeyValues:??? -> ?contextKeyType:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of ContextKeyValueType.t ] list | `String of ContextKeyNameType.t ]) 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