CloudFront.CachePolicy
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html
and parameters_in_cache_key_and_forwarded_to_origin = {
enable_accept_encoding_brotli : bool option;
headers_config : headers_config;
enable_accept_encoding_gzip : bool;
query_strings_config : query_strings_config;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-parametersincachekeyandforwardedtoorigin.html
and cache_policy_config = {
comment : string option;
min_ttl : float;
max_ttl : float;
parameters_in_cache_key_and_forwarded_to_origin : parameters_in_cache_key_and_forwarded_to_origin;
default_ttl : float;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html;
val make_properties :
cache_policy_config:cache_policy_config ->
unit ->
properties
val make_query_strings_config :
?query_strings:string list ->
query_string_behavior:string ->
unit ->
query_strings_config
val make_headers_config :
?headers:string list ->
header_behavior:string ->
unit ->
headers_config
val make_cookies_config :
?cookies:string list ->
cookie_behavior:string ->
unit ->
cookies_config
val make_parameters_in_cache_key_and_forwarded_to_origin :
?enable_accept_encoding_brotli:bool ->
headers_config:headers_config ->
cookies_config:cookies_config ->
enable_accept_encoding_gzip:bool ->
query_strings_config:query_strings_config ->
unit ->
parameters_in_cache_key_and_forwarded_to_origin
val make_cache_policy_config :
?comment:string ->
min_ttl:float ->
max_ttl:float ->
parameters_in_cache_key_and_forwarded_to_origin:
parameters_in_cache_key_and_forwarded_to_origin ->
default_ttl:float ->
name:string ->
unit ->
cache_policy_config
val yojson_of_query_strings_config : query_strings_config -> Yojson.Safe.t
val yojson_of_headers_config : headers_config -> Yojson.Safe.t
val yojson_of_cookies_config : cookies_config -> Yojson.Safe.t
val yojson_of_parameters_in_cache_key_and_forwarded_to_origin :
parameters_in_cache_key_and_forwarded_to_origin ->
Yojson.Safe.t
val yojson_of_cache_policy_config :
cache_policy_config ->
[> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties :
properties ->
[> `Assoc of (string * [> `Assoc of (string * Yojson.Safe.t) list ]) list ]
val create_attributes : string -> attributes