Module Values.CheckNoPublicAccessRequestSource

Checks whether a resource policy can grant public access to the specified resource type.

Sourcetype nonrec t = {
  1. policyDocument : AccessCheckPolicyDocument.t;
    (*

    The JSON policy document to evaluate for public access.

    *)
  2. resourceType : AccessCheckResourceType.t;
    (*

    The type of resource to evaluate for public access. For example, to check for public access to Amazon S3 buckets, you can choose AWS::S3::Bucket for the resource type. For resource types not supported as valid values, IAM Access Analyzer will return an error.

    *)
}
Sourceval context_ : string
Sourceval make : policyDocument:AccessCheckPolicyDocument.t -> resourceType:AccessCheckResourceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of AccessCheckPolicyDocument.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