Lambda.EventSourceMapping
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-scalingconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filter.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-onfailure.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-sourceaccessconfiguration.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedkafkaeventsourceconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-amazonmanagedkafkaeventsourceconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-endpoints.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-documentdbeventsourceconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-selfmanagedeventsource.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-filtercriteria.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-eventsourcemapping-destinationconfig.html
type properties = {
starting_position : string option;
batch_size : int option;
maximum_retry_attempts : int option;
topics : string list option;
scaling_config : scaling_config option;
self_managed_event_source : self_managed_event_source option;
parallelization_factor : int option;
enabled : bool option;
filter_criteria : filter_criteria option;
event_source_arn : string option;
self_managed_kafka_event_source_config : self_managed_kafka_event_source_config
option;
document_db_event_source_config : document_db_event_source_config option;
function_name : string;
tumbling_window_in_seconds : int option;
bisect_batch_on_function_error : bool option;
destination_config : destination_config option;
amazon_managed_kafka_event_source_config : amazon_managed_kafka_event_source_config
option;
maximum_record_age_in_seconds : int option;
starting_position_timestamp : float option;
queues : string list option;
source_access_configurations : source_access_configuration list option;
function_response_types : string list option;
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 ]
val create_attributes : string -> attributes