Module Values.AwsEc2VolumeDetailsSource

Details about an EC2 volume.

Sourcetype nonrec t = {
  1. createTime : NonEmptyString.t option;
    (*

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

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

    The device name for the volume that is attached to the instance.

    *)
  3. encrypted : Boolean.t option;
    (*

    Specifies whether the volume is encrypted.

    *)
  4. size : Integer.t option;
    (*

    The size of the volume, in GiBs.

    *)
  5. snapshotId : NonEmptyString.t option;
    (*

    The snapshot from which the volume was created.

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

    The volume state. Valid values are as follows: available creating deleted deleting error in-use

    *)
  7. kmsKeyId : NonEmptyString.t option;
    (*

    The ARN of the KMS key that was used to protect the volume encryption key for the volume.

    *)
  8. attachments : AwsEc2VolumeAttachmentList.t option;
    (*

    The volume attachments.

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

    The ID of the volume.

    *)
  10. volumeType : NonEmptyString.t option;
    (*

    The volume type.

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

    Indicates whether the volume was scanned or skipped.

    *)
}
Sourceval make : ?createTime:??? -> ?deviceName:??? -> ?encrypted:??? -> ?size:??? -> ?snapshotId:??? -> ?status:??? -> ?kmsKeyId:??? -> ?attachments:??? -> ?volumeId:??? -> ?volumeType:??? -> ?volumeScanStatus:??? -> 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