Module CloudTrail.Trail

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-trail.html

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

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

and insight_selector = {
  1. insight_type : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-insightselector.html

and advanced_field_selector = {
  1. field : string;
  2. equals : string list option;
  3. not_starts_with : string list option;
  4. not_ends_with : string list option;
  5. starts_with : string list option;
  6. ends_with : string list option;
  7. not_equals : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-advancedfieldselector.html

and data_resource = {
  1. type_ : string;
  2. values : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-dataresource.html

and advanced_event_selector = {
  1. field_selectors : advanced_field_selector list;
  2. name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-advancedeventselector.html

and event_selector = {
  1. include_management_events : bool option;
  2. read_write_type : string option;
  3. exclude_management_event_sources : string list option;
  4. data_resources : data_resource list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudtrail-trail-eventselector.html

type properties = {
  1. include_global_service_events : bool option;
  2. event_selectors : event_selector list option;
  3. kms_key_id : string option;
  4. cloud_watch_logs_role_arn : string option;
  5. s3_key_prefix : string option;
  6. advanced_event_selectors : advanced_event_selector list option;
  7. trail_name : string option;
  8. is_organization_trail : bool option;
  9. insight_selectors : insight_selector list option;
  10. cloud_watch_logs_log_group_arn : string option;
  11. sns_topic_name : string option;
  12. is_multi_region_trail : bool option;
  13. s3_bucket_name : string;
  14. enable_log_file_validation : bool option;
  15. tags : tag list option;
  16. is_logging : bool;
}

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

val make_properties : ?include_global_service_events:bool -> ?event_selectors:event_selector list -> ?kms_key_id:string -> ?cloud_watch_logs_role_arn:string -> ?s3_key_prefix:string -> ?advanced_event_selectors:advanced_event_selector list -> ?trail_name:string -> ?is_organization_trail:bool -> ?insight_selectors:insight_selector list -> ?cloud_watch_logs_log_group_arn:string -> ?sns_topic_name:string -> ?is_multi_region_trail:bool -> s3_bucket_name:string -> ?enable_log_file_validation:bool -> ?tags:tag list -> is_logging:bool -> unit -> properties
val make_tag : value:string -> key:string -> unit -> tag
val make_insight_selector : ?insight_type:string -> unit -> insight_selector
val make_advanced_field_selector : field:string -> ?equals:string list -> ?not_starts_with:string list -> ?not_ends_with:string list -> ?starts_with:string list -> ?ends_with:string list -> ?not_equals:string list -> unit -> advanced_field_selector
val make_data_resource : type_:string -> ?values:string list -> unit -> data_resource
val make_advanced_event_selector : field_selectors:advanced_field_selector list -> ?name:string -> unit -> advanced_event_selector
val make_event_selector : ?include_management_events:bool -> ?read_write_type:string -> ?exclude_management_event_sources:string list -> ?data_resources:data_resource list -> unit -> event_selector
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_insight_selector : insight_selector -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_advanced_field_selector : advanced_field_selector -> Yojson.Safe.t
val yojson_of_data_resource : data_resource -> Yojson.Safe.t
val yojson_of_advanced_event_selector : advanced_event_selector -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_event_selector : event_selector -> [> `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. sns_topic_arn : string;
  3. arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string