Module CloudFront.CachePolicy

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cachepolicy.html

type query_strings_config = {
  1. query_strings : string list option;
  2. query_string_behavior : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-querystringsconfig.html

and headers_config = {
  1. headers : string list option;
  2. header_behavior : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-headersconfig.html

and cookies_config = {
  1. cookies : string list option;
  2. cookie_behavior : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cookiesconfig.html

and parameters_in_cache_key_and_forwarded_to_origin = {
  1. enable_accept_encoding_brotli : bool option;
  2. headers_config : headers_config;
  3. cookies_config : cookies_config;
  4. enable_accept_encoding_gzip : bool;
  5. 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 = {
  1. comment : string option;
  2. min_ttl : float;
  3. max_ttl : float;
  4. parameters_in_cache_key_and_forwarded_to_origin : parameters_in_cache_key_and_forwarded_to_origin;
  5. default_ttl : float;
  6. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-cachepolicy-cachepolicyconfig.html

type properties = {
  1. cache_policy_config : cache_policy_config;
}

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 ]
type attributes = {
  1. ref_ : string;
  2. last_modified_time : string;
  3. id : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string