Module Values.EvaluationSource

Identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that it was evaluated against.

Sourcetype nonrec t = {
  1. complianceResourceType : StringWithCharLimit256.t;
    (*

    The type of Amazon Web Services resource that was evaluated.

    *)
  2. complianceResourceId : BaseResourceId.t;
    (*

    The ID of the Amazon Web Services resource that was evaluated.

    *)
  3. complianceType : ComplianceType.t;
    (*

    Indicates whether the Amazon Web Services resource complies with the Config rule that it was evaluated against. For the Evaluation data type, Config supports only the COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. Config does not support the INSUFFICIENT_DATA value for this data type. Similarly, Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations request. For example, an Lambda function for a custom Config rule cannot pass an INSUFFICIENT_DATA value to Config.

    *)
  4. annotation : StringWithCharLimit256.t option;
    (*

    Supplementary information about how the evaluation determined the compliance.

    *)
  5. orderingTimestamp : OrderingTimestamp.t;
    (*

    The time of the event in Config that triggered the evaluation. For event-based evaluations, the time indicates when Config created the configuration item that triggered the evaluation. For periodic evaluations, the time indicates when Config triggered the evaluation at the frequency that you specified (for example, every 24 hours).

    *)
}
Sourceval context_ : string
Sourceval make : ?annotation:??? -> complianceResourceType:StringWithCharLimit256.t -> complianceResourceId:BaseResourceId.t -> complianceType:ComplianceType.t -> orderingTimestamp:OrderingTimestamp.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of StringWithCharLimit256.t | `Timestamp of OrderingTimestamp.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