Module Values.KmsGrantConfigurationSource

A proposed grant configuration for a KMS key. For more information, see CreateGrant.

Sourcetype nonrec t = {
  1. operations : KmsGrantOperationsList.t;
    (*

    A list of operations that the grant permits.

    *)
  2. granteePrincipal : GranteePrincipal.t;
    (*

    The principal that is given permission to perform the operations that the grant permits.

    *)
  3. retiringPrincipal : RetiringPrincipal.t option;
    (*

    The principal that is given permission to retire the grant by using RetireGrant operation.

    *)
  4. constraints : KmsGrantConstraints.t option;
    (*

    Use this structure to propose allowing cryptographic operations in the grant only when the operation request includes the specified encryption context.

    *)
  5. issuingAccount : IssuingAccount.t;
    (*

    The Amazon Web Services account under which the grant was issued. The account is used to propose KMS grants issued by accounts other than the owner of the key.

    *)
}
Sourceval context_ : string
Sourceval make : ?retiringPrincipal:??? -> ?constraints:??? -> operations:KmsGrantOperationsList.t -> granteePrincipal:GranteePrincipal.t -> issuingAccount:IssuingAccount.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `String of GranteePrincipal.t | `Structure of (string * [> `Map of ([> `String of KmsConstraintsKey.t ] * [> `String of KmsConstraintsValue.t ]) list ]) list ]) 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