Module Values.AwsKmsKeyDetailsSource

Contains metadata about an KMS key.

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

    The twelve-digit account ID of the Amazon Web Services account that owns the KMS key.

    *)
  2. creationDate : Double.t option;
    (*

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

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

    The globally unique identifier for the KMS key.

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

    The manager of the KMS key. KMS keys in your Amazon Web Services account are either customer managed or Amazon Web Services managed.

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

    The state of the KMS key. Valid values are as follows: Disabled Enabled PendingDeletion PendingImport Unavailable

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

    The source of the KMS key material. When this value is AWS_KMS, KMS created the key material. When this value is EXTERNAL, the key material was imported from your existing key management infrastructure or the KMS key lacks key material. When this value is AWS_CLOUDHSM, the key material was created in the CloudHSM cluster associated with a custom key store.

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

    A description of the KMS key.

    *)
  8. keyRotationStatus : Boolean.t option;
    (*

    Whether the key has key rotation enabled.

    *)
}
Sourceval make : ?aWSAccountId:??? -> ?creationDate:??? -> ?keyId:??? -> ?keyManager:??? -> ?keyState:??? -> ?origin:??? -> ?description:??? -> ?keyRotationStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `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