Module Values.AwsIamPolicyDetailsSource

Represents an IAM permissions policy.

Sourcetype nonrec t = {
  1. attachmentCount : Integer.t option;
    (*

    The number of users, groups, and roles that the policy is attached to.

    *)
  2. createDate : NonEmptyString.t option;
    (*

    When the policy was created. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

    *)
  3. defaultVersionId : NonEmptyString.t option;
    (*

    The identifier of the default version of the policy.

    *)
  4. description : NonEmptyString.t option;
    (*

    A description of the policy.

    *)
  5. isAttachable : Boolean.t option;
    (*

    Whether the policy can be attached to a user, group, or role.

    *)
  6. path : NonEmptyString.t option;
    (*

    The path to the policy.

    *)
  7. permissionsBoundaryUsageCount : Integer.t option;
    (*

    The number of users and roles that use the policy to set the permissions boundary.

    *)
  8. policyId : NonEmptyString.t option;
    (*

    The unique identifier of the policy.

    *)
  9. policyName : NonEmptyString.t option;
    (*

    The name of the policy.

    *)
  10. policyVersionList : AwsIamPolicyVersionList.t option;
    (*

    List of versions of the policy.

    *)
  11. updateDate : NonEmptyString.t option;
    (*

    When the policy was most recently updated. For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.

    *)
}
Sourceval make : ?attachmentCount:Integer.t -> ?createDate:NonEmptyString.t -> ?defaultVersionId:NonEmptyString.t -> ?description:NonEmptyString.t -> ?isAttachable:Boolean.t -> ?path:NonEmptyString.t -> ?permissionsBoundaryUsageCount:Integer.t -> ?policyId:NonEmptyString.t -> ?policyName:NonEmptyString.t -> ?policyVersionList:AwsIamPolicyVersionList.t -> ?updateDate:NonEmptyString.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of NonEmptyString.t ]) list ] list | `String of NonEmptyString.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