Module Events.Endpoint

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html

type replication_config = {
  1. state : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html

and primary = {
  1. health_check : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html

and endpoint_event_bus = {
  1. event_bus_arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html

and secondary = {
  1. route : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html

and failover_config = {
  1. secondary : secondary;
  2. primary : primary;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html

and routing_config = {
  1. failover_config : failover_config;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html

type properties = {
  1. event_buses : endpoint_event_bus list;
  2. description : string option;
  3. replication_config : replication_config option;
  4. routing_config : routing_config;
  5. role_arn : string option;
  6. name : string option;
}

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

val make_properties : event_buses:endpoint_event_bus list -> ?description:string -> ?replication_config:replication_config -> routing_config:routing_config -> ?role_arn:string -> ?name:string -> unit -> properties
val make_replication_config : state:string -> unit -> replication_config
val make_primary : health_check:string -> unit -> primary
val make_endpoint_event_bus : event_bus_arn:string -> unit -> endpoint_event_bus
val make_secondary : route:string -> unit -> secondary
val make_failover_config : secondary:secondary -> primary:primary -> unit -> failover_config
val make_routing_config : failover_config:failover_config -> unit -> routing_config
val yojson_of_replication_config : replication_config -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_primary : primary -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_endpoint_event_bus : endpoint_event_bus -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_secondary : secondary -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_failover_config : failover_config -> [> `Assoc of (string * [> `Assoc of (string * Yojson.Safe.t) list ]) list ]
val yojson_of_routing_config : routing_config -> [> `Assoc of (string * [> `Assoc of (string * [> `Assoc of (string * Yojson.Safe.t) list ]) list ]) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. state : string;
  3. state_reason : string;
  4. endpoint_id : string;
  5. arn : string;
  6. endpoint_url : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string