Module KMS.Key

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html

type tag = {
  1. value : string;
  2. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

type properties = {
  1. origin : string option;
  2. multi_region : bool option;
  3. description : string option;
  4. pending_window_in_days : int option;
  5. bypass_policy_lockout_safety_check : bool option;
  6. key_policy : Yojson.Safe.t option;
  7. key_spec : string option;
  8. enabled : bool option;
  9. key_usage : string option;
  10. enable_key_rotation : bool option;
  11. tags : tag list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html;

val make_properties : ?origin:string -> ?multi_region:bool -> ?description:string -> ?pending_window_in_days:int -> ?bypass_policy_lockout_safety_check:bool -> ?key_policy:Yojson.Safe.t -> ?key_spec:string -> ?enabled:bool -> ?key_usage:string -> ?enable_key_rotation:bool -> ?tags:tag list -> unit -> properties
val make_tag : value:string -> key:string -> unit -> tag
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. key_id : string;
  3. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string