Module Values.ComplianceViolatorSource

Details of the resource that is not protected by the policy.

Sourcetype nonrec t = {
  1. resourceId : ResourceId.t option;
    (*

    The resource ID.

    *)
  2. violationReason : ViolationReason.t option;
    (*

    The reason that the resource is not protected by the policy.

    *)
  3. resourceType : ResourceType.t option;
    (*

    The resource type. This is in the format shown in the Amazon Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.

    *)
  4. metadata : ComplianceViolatorMetadata.t option;
    (*

    Metadata about the resource that doesn't comply with the policy scope.

    *)
}
Sourceval make : ?resourceId:??? -> ?violationReason:??? -> ?resourceType:??? -> ?metadata:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of LengthBoundedString.t ] * [> `String of LengthBoundedString.t ]) list | `String of ResourceId.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