ElasticLoadBalancingV2.ListenerRule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httpheaderconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgrouptuple.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-sourceipconfig.html
and authenticate_oidc_config = {
on_unauthenticated_request : string option;
token_endpoint : string;
use_existing_client_secret : bool option;
session_timeout : int option;
scope : string option;
issuer : string;
client_secret : string option;
user_info_endpoint : string;
client_id : string;
authentication_request_extra_params : string Stdlib__Map.Make(Stdlib.String).t
option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticateoidcconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-hostheaderconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-pathpatternconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-querystringkeyvalue.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-fixedresponseconfig.html
and authenticate_cognito_config = {
on_unauthenticated_request : string option;
user_pool_client_id : string;
user_pool_domain : string;
session_timeout : int option;
scope : string option;
user_pool_arn : string;
authentication_request_extra_params : string Stdlib__Map.Make(Stdlib.String).t
option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-authenticatecognitoconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-httprequestmethodconfig.html
and redirect_config = {
path : string option;
query : string option;
port : string option;
host : string option;
protocol : string option;
status_code : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-redirectconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-targetgroupstickinessconfig.html
and forward_config = {
target_group_stickiness_config : target_group_stickiness_config option;
target_groups : target_group_tuple list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-forwardconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-querystringconfig.html
and action = {
order : int option;
target_group_arn : string option;
fixed_response_config : fixed_response_config option;
authenticate_cognito_config : authenticate_cognito_config option;
type_ : string;
redirect_config : redirect_config option;
forward_config : forward_config option;
authenticate_oidc_config : authenticate_oidc_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-action.html
and rule_condition = {
field : string option;
http_header_config : http_header_config option;
values : string list option;
query_string_config : query_string_config option;
host_header_config : host_header_config option;
http_request_method_config : http_request_method_config option;
path_pattern_config : path_pattern_config option;
source_ip_config : source_ip_config option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-rulecondition.html
type properties = {
listener_arn : string option;
actions : action list;
priority : int;
conditions : rule_condition list;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html;
val make_properties :
?listener_arn:string ->
actions:action list ->
priority:int ->
conditions:rule_condition list ->
unit ->
properties
val make_http_header_config :
?values:string list ->
?http_header_name:string ->
unit ->
http_header_config
val make_target_group_tuple :
?target_group_arn:string ->
?weight:int ->
unit ->
target_group_tuple
val make_source_ip_config : ?values:string list -> unit -> source_ip_config
val make_authenticate_oidc_config :
?on_unauthenticated_request:string ->
token_endpoint:string ->
?use_existing_client_secret:bool ->
?session_timeout:int ->
?scope:string ->
issuer:string ->
?client_secret:string ->
user_info_endpoint:string ->
client_id:string ->
authorization_endpoint:string ->
?session_cookie_name:string ->
?authentication_request_extra_params:string Stdlib__Map.Make(Stdlib.String).t ->
unit ->
authenticate_oidc_config
val make_host_header_config : ?values:string list -> unit -> host_header_config
val make_path_pattern_config :
?values:string list ->
unit ->
path_pattern_config
val make_query_string_key_value :
?value:string ->
?key:string ->
unit ->
query_string_key_value
val make_fixed_response_config :
?content_type:string ->
status_code:string ->
?message_body:string ->
unit ->
fixed_response_config
val make_authenticate_cognito_config :
?on_unauthenticated_request:string ->
user_pool_client_id:string ->
user_pool_domain:string ->
?session_timeout:int ->
?scope:string ->
?session_cookie_name:string ->
user_pool_arn:string ->
?authentication_request_extra_params:string Stdlib__Map.Make(Stdlib.String).t ->
unit ->
authenticate_cognito_config
val make_http_request_method_config :
?values:string list ->
unit ->
http_request_method_config
val make_redirect_config :
?path:string ->
?query:string ->
?port:string ->
?host:string ->
?protocol:string ->
status_code:string ->
unit ->
redirect_config
val make_target_group_stickiness_config :
?enabled:bool ->
?duration_seconds:int ->
unit ->
target_group_stickiness_config
val make_forward_config :
?target_group_stickiness_config:target_group_stickiness_config ->
?target_groups:target_group_tuple list ->
unit ->
forward_config
val make_query_string_config :
?values:query_string_key_value list ->
unit ->
query_string_config
val make_action :
?order:int ->
?target_group_arn:string ->
?fixed_response_config:fixed_response_config ->
?authenticate_cognito_config:authenticate_cognito_config ->
type_:string ->
?redirect_config:redirect_config ->
?forward_config:forward_config ->
?authenticate_oidc_config:authenticate_oidc_config ->
unit ->
action
val make_rule_condition :
?field:string ->
?http_header_config:http_header_config ->
?values:string list ->
?query_string_config:query_string_config ->
?host_header_config:host_header_config ->
?http_request_method_config:http_request_method_config ->
?path_pattern_config:path_pattern_config ->
?source_ip_config:source_ip_config ->
unit ->
rule_condition
val yojson_of_http_header_config : http_header_config -> Yojson.Safe.t
val yojson_of_target_group_tuple : target_group_tuple -> Yojson.Safe.t
val yojson_of_source_ip_config : source_ip_config -> Yojson.Safe.t
val yojson_of_authenticate_oidc_config :
authenticate_oidc_config ->
Yojson.Safe.t
val yojson_of_host_header_config : host_header_config -> Yojson.Safe.t
val yojson_of_path_pattern_config : path_pattern_config -> Yojson.Safe.t
val yojson_of_query_string_key_value : query_string_key_value -> Yojson.Safe.t
val yojson_of_fixed_response_config : fixed_response_config -> Yojson.Safe.t
val yojson_of_authenticate_cognito_config :
authenticate_cognito_config ->
Yojson.Safe.t
val yojson_of_http_request_method_config :
http_request_method_config ->
Yojson.Safe.t
val yojson_of_redirect_config : redirect_config -> Yojson.Safe.t
val yojson_of_target_group_stickiness_config :
target_group_stickiness_config ->
Yojson.Safe.t
val yojson_of_forward_config : forward_config -> Yojson.Safe.t
val yojson_of_query_string_config : query_string_config -> Yojson.Safe.t
val yojson_of_action : action -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_rule_condition :
rule_condition ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes