Lightsail.Distribution
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-distribution.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cachebehavior.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-querystringobject.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-inputorigin.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-lightsail-distribution-cachebehaviorperpath.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cookieobject.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-headerobject.html
and cache_settings = {
minimum_ttl : int option;
cached_http_methods : string option;
allowed_http_methods : string option;
maximum_ttl : int option;
forwarded_headers : header_object option;
default_ttl : int option;
forwarded_query_strings : query_string_object option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-distribution-cachesettings.html
type properties = {
ip_address_type : string option;
origin : input_origin;
distribution_name : string;
bundle_id : string;
default_cache_behavior : cache_behavior;
is_enabled : bool option;
cache_behavior_settings : cache_settings option;
certificate_name : string option;
cache_behaviors : cache_behavior_per_path list option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-distribution.html;
val make_properties :
?ip_address_type:string ->
origin:input_origin ->
distribution_name:string ->
bundle_id:string ->
default_cache_behavior:cache_behavior ->
?is_enabled:bool ->
?cache_behavior_settings:cache_settings ->
?certificate_name:string ->
?tags:tag list ->
?cache_behaviors:cache_behavior_per_path list ->
unit ->
properties
val make_cache_behavior : ?behavior:string -> unit -> cache_behavior
val make_query_string_object :
?option:bool ->
?query_strings_allow_list:string list ->
unit ->
query_string_object
val make_input_origin :
?region_name:string ->
?protocol_policy:string ->
?name:string ->
unit ->
input_origin
val make_tag : value:string -> key:string -> unit -> tag
val make_cache_behavior_per_path :
?path:string ->
?behavior:string ->
unit ->
cache_behavior_per_path
val make_cookie_object :
?cookies_allow_list:string list ->
?option:string ->
unit ->
cookie_object
val make_header_object :
?headers_allow_list:string list ->
?option:string ->
unit ->
header_object
val make_cache_settings :
?forwarded_cookies:cookie_object ->
?minimum_ttl:int ->
?cached_http_methods:string ->
?allowed_http_methods:string ->
?maximum_ttl:int ->
?forwarded_headers:header_object ->
?default_ttl:int ->
?forwarded_query_strings:query_string_object ->
unit ->
cache_settings
val yojson_of_cache_behavior :
cache_behavior ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_query_string_object : query_string_object -> Yojson.Safe.t
val yojson_of_input_origin :
input_origin ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_cache_behavior_per_path :
cache_behavior_per_path ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_cookie_object : cookie_object -> Yojson.Safe.t
val yojson_of_header_object : header_object -> Yojson.Safe.t
val yojson_of_cache_settings :
cache_settings ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val create_attributes : string -> attributes