Config.ConfigRule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-compliance.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-evaluationmodeconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-sourcedetail.html
and scope = {
compliance_resource_id : string option;
tag_key : string option;
compliance_resource_types : string list option;
tag_value : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-scope.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-custompolicydetails.html
and source = {
owner : string;
custom_policy_details : custom_policy_details option;
source_identifier : string option;
source_details : source_detail list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configrule-source.html
type properties = {
evaluation_modes : evaluation_mode_configuration list option;
description : string option;
scope : scope option;
compliance : compliance option;
config_rule_name : string option;
maximum_execution_frequency : string option;
source : source;
input_parameters : Yojson.Safe.t option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configrule.html;
val make_properties :
?evaluation_modes:evaluation_mode_configuration list ->
?description:string ->
?scope:scope ->
?compliance:compliance ->
?config_rule_name:string ->
?maximum_execution_frequency:string ->
source:source ->
?input_parameters:Yojson.Safe.t ->
unit ->
properties
val make_compliance : ?type_:string -> unit -> compliance
val make_evaluation_mode_configuration :
?mode:string ->
unit ->
evaluation_mode_configuration
val make_source_detail :
event_source:string ->
?maximum_execution_frequency:string ->
message_type:string ->
unit ->
source_detail
val make_scope :
?compliance_resource_id:string ->
?tag_key:string ->
?compliance_resource_types:string list ->
?tag_value:string ->
unit ->
scope
val make_custom_policy_details :
?enable_debug_log_delivery:bool ->
?policy_text:string ->
?policy_runtime:string ->
unit ->
custom_policy_details
val make_source :
owner:string ->
?custom_policy_details:custom_policy_details ->
?source_identifier:string ->
?source_details:source_detail list ->
unit ->
source
val yojson_of_compliance :
compliance ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_evaluation_mode_configuration :
evaluation_mode_configuration ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_source_detail : source_detail -> Yojson.Safe.t
val yojson_of_scope : scope -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_custom_policy_details : custom_policy_details -> Yojson.Safe.t
val yojson_of_source : source -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes