Module Values.S3ObjectSource

Provides information about the S3 object that a finding applies to.

Sourcetype nonrec t = {
  1. bucketArn : string option;
    (*

    The Amazon Resource Name (ARN) of the bucket that contains the object.

    *)
  2. eTag : string option;
    (*

    The entity tag (ETag) that identifies the affected version of the object. If the object was overwritten or changed after Amazon Macie produced the finding, this value might be different from the current ETag for the object.

    *)
  3. extension : string option;
    (*

    The file name extension of the object. If the object doesn't have a file name extension, this value is "".

    *)
  4. key : string option;
    (*

    The full name (key) of the object, including the object's prefix if applicable.

    *)
  5. lastModified : string option;
    (*

    The date and time, in UTC and extended ISO 8601 format, when the object was last modified.

    *)
  6. path : string option;
    (*

    The full path to the affected object, including the name of the affected bucket and the object's name (key).

    *)
  7. publicAccess : bool option;
    (*

    Specifies whether the object is publicly accessible due to the combination of permissions settings that apply to the object.

    *)
  8. serverSideEncryption : ServerSideEncryption.t option;
    (*

    The type of server-side encryption that was used to encrypt the object.

    *)
  9. size : Awso.Import.Int64.t option;
    (*

    The total storage size, in bytes, of the object.

    *)
  10. storageClass : StorageClass.t option;
    (*

    The storage class of the object.

    *)
  11. tags : KeyValuePairList.t option;
    (*

    The tags that are associated with the object.

    *)
  12. versionId : string option;
    (*

    The identifier for the affected version of the object.

    *)
}
Sourceval make : ?bucketArn:??? -> ?eTag:??? -> ?extension:??? -> ?key:??? -> ?lastModified:??? -> ?path:??? -> ?publicAccess:??? -> ?serverSideEncryption:??? -> ?size:??? -> ?storageClass:??? -> ?tags:??? -> ?versionId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of bool | `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `Long of Awso.Import.Int64.t | `String of string | `Structure of (string * [> `Enum of string | `String of string ]) list | `Timestamp of string ]) 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