Module Lambda.EventSourceMapping

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html

type scaling_config = {
  1. maximum_concurrency : int option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-scalingconfig.html

and filter = {
  1. pattern : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html

and on_failure = {
  1. destination : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html

and source_access_configuration = {
  1. type_ : string option;
  2. uri : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html

and self_managed_kafka_event_source_config = {
  1. consumer_group_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html

and amazon_managed_kafka_event_source_config = {
  1. consumer_group_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html

and endpoints = {
  1. kafka_bootstrap_servers : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-endpoints.html

and document_db_event_source_config = {
  1. full_document : string option;
  2. collection_name : string option;
  3. database_name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html

and self_managed_event_source = {
  1. endpoints : endpoints option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedeventsource.html

and filter_criteria = {
  1. filters : filter list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html

and destination_config = {
  1. on_failure : on_failure option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-destinationconfig.html

type properties = {
  1. starting_position : string option;
  2. batch_size : int option;
  3. maximum_retry_attempts : int option;
  4. topics : string list option;
  5. scaling_config : scaling_config option;
  6. self_managed_event_source : self_managed_event_source option;
  7. parallelization_factor : int option;
  8. enabled : bool option;
  9. filter_criteria : filter_criteria option;
  10. event_source_arn : string option;
  11. self_managed_kafka_event_source_config : self_managed_kafka_event_source_config option;
  12. document_db_event_source_config : document_db_event_source_config option;
  13. function_name : string;
  14. tumbling_window_in_seconds : int option;
  15. bisect_batch_on_function_error : bool option;
  16. destination_config : destination_config option;
  17. amazon_managed_kafka_event_source_config : amazon_managed_kafka_event_source_config option;
  18. maximum_record_age_in_seconds : int option;
  19. starting_position_timestamp : float option;
  20. queues : string list option;
  21. source_access_configurations : source_access_configuration list option;
  22. function_response_types : string list option;
  23. maximum_batching_window_in_seconds : int option;
}

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

val make_properties : ?starting_position:string -> ?batch_size:int -> ?maximum_retry_attempts:int -> ?topics:string list -> ?scaling_config:scaling_config -> ?self_managed_event_source:self_managed_event_source -> ?parallelization_factor:int -> ?enabled:bool -> ?filter_criteria:filter_criteria -> ?event_source_arn:string -> ?self_managed_kafka_event_source_config: self_managed_kafka_event_source_config -> ?document_db_event_source_config:document_db_event_source_config -> function_name:string -> ?tumbling_window_in_seconds:int -> ?bisect_batch_on_function_error:bool -> ?destination_config:destination_config -> ?amazon_managed_kafka_event_source_config: amazon_managed_kafka_event_source_config -> ?maximum_record_age_in_seconds:int -> ?starting_position_timestamp:float -> ?queues:string list -> ?source_access_configurations:source_access_configuration list -> ?function_response_types:string list -> ?maximum_batching_window_in_seconds:int -> unit -> properties
val make_scaling_config : ?maximum_concurrency:int -> unit -> scaling_config
val make_filter : ?pattern:string -> unit -> filter
val make_on_failure : ?destination:string -> unit -> on_failure
val make_source_access_configuration : ?type_:string -> ?uri:string -> unit -> source_access_configuration
val make_self_managed_kafka_event_source_config : ?consumer_group_id:string -> unit -> self_managed_kafka_event_source_config
val make_amazon_managed_kafka_event_source_config : ?consumer_group_id:string -> unit -> amazon_managed_kafka_event_source_config
val make_endpoints : ?kafka_bootstrap_servers:string list -> unit -> endpoints
val make_document_db_event_source_config : ?full_document:string -> ?collection_name:string -> ?database_name:string -> unit -> document_db_event_source_config
val make_self_managed_event_source : ?endpoints:endpoints -> unit -> self_managed_event_source
val make_filter_criteria : ?filters:filter list -> unit -> filter_criteria
val make_destination_config : ?on_failure:on_failure -> unit -> destination_config
val yojson_of_scaling_config : scaling_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_filter : filter -> Yojson.Safe.t
val yojson_of_on_failure : on_failure -> Yojson.Safe.t
val yojson_of_source_access_configuration : source_access_configuration -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_self_managed_kafka_event_source_config : self_managed_kafka_event_source_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_amazon_managed_kafka_event_source_config : amazon_managed_kafka_event_source_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_endpoints : endpoints -> Yojson.Safe.t
val yojson_of_document_db_event_source_config : document_db_event_source_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_self_managed_event_source : self_managed_event_source -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_filter_criteria : filter_criteria -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_destination_config : destination_config -> [> `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. id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string