VpcLattice.Rule
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-rule.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-weightedtargetgroup.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-fixedresponse.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-pathmatchtype.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatchtype.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-forward.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-headermatch.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-pathmatch.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-action.html
and http_match = {
header_matches : header_match list option;
path_match : path_match option;
method_ : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-httpmatch.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-vpclattice-rule-match.html
type properties = {
action : action;
priority : int;
service_identifier : string option;
listener_identifier : string option;
match_ : match_;
name : string option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-rule.html;
val make_properties :
action:action ->
priority:int ->
?service_identifier:string ->
?listener_identifier:string ->
?tags:tag list ->
match_:match_ ->
?name:string ->
unit ->
properties
val make_weighted_target_group :
?weight:int ->
target_group_identifier:string ->
unit ->
weighted_target_group
val make_tag : value:string -> key:string -> unit -> tag
val make_fixed_response : status_code:int -> unit -> fixed_response
val make_path_match_type :
?exact:string ->
?prefix:string ->
unit ->
path_match_type
val make_header_match_type :
?contains:string ->
?exact:string ->
?prefix:string ->
unit ->
header_match_type
val make_forward : target_groups:weighted_target_group list -> unit -> forward
val make_header_match :
?case_sensitive:bool ->
name:string ->
match_:header_match_type ->
unit ->
header_match
val make_path_match :
?case_sensitive:bool ->
match_:path_match_type ->
unit ->
path_match
val make_action :
?forward:forward ->
?fixed_response:fixed_response ->
unit ->
action
val make_http_match :
?header_matches:header_match list ->
?path_match:path_match ->
?method_:string ->
unit ->
http_match
val make_match_ : http_match:http_match -> unit -> match_
val yojson_of_weighted_target_group : weighted_target_group -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_fixed_response : fixed_response -> Yojson.Safe.t
val yojson_of_path_match_type : path_match_type -> Yojson.Safe.t
val yojson_of_header_match_type : header_match_type -> Yojson.Safe.t
val yojson_of_forward : forward -> Yojson.Safe.t
val yojson_of_header_match : header_match -> Yojson.Safe.t
val yojson_of_path_match : path_match -> Yojson.Safe.t
val yojson_of_action : action -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_http_match :
http_match ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_match_ :
match_ ->
[> `Assoc of (string * [> `Assoc of (string * Yojson.Safe.t) list ]) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes