Module CloudFront.ResponseHeadersPolicy

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

type custom_header = {
  1. header : string;
  2. value : string;
  3. override : bool;
}

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

and content_type_options = {
  1. override : bool;
}

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

and access_control_allow_methods = {
  1. items : string list;
}

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

and xss_protection = {
  1. report_uri : string option;
  2. override : bool;
  3. protection : bool;
  4. mode_block : bool option;
}

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

and access_control_allow_headers = {
  1. items : string list;
}

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

and access_control_allow_origins = {
  1. items : string list;
}

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

and frame_options = {
  1. frame_option : string;
  2. override : bool;
}

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

and content_security_policy = {
  1. content_security_policy : string;
  2. override : bool;
}

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

and access_control_expose_headers = {
  1. items : string list;
}

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

and remove_header = {
  1. header : string;
}

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

and server_timing_headers_config = {
  1. enabled : bool;
  2. sampling_rate : float option;
}

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

and strict_transport_security = {
  1. preload : bool option;
  2. access_control_max_age_sec : int;
  3. include_subdomains : bool option;
  4. override : bool;
}

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

and referrer_policy = {
  1. override : bool;
  2. referrer_policy : string;
}

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

and security_headers_config = {
  1. content_security_policy : content_security_policy option;
  2. frame_options : frame_options option;
  3. content_type_options : content_type_options option;
  4. strict_transport_security : strict_transport_security option;
  5. xss_protection : xss_protection option;
  6. referrer_policy : referrer_policy option;
}

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

and cors_config = {
  1. access_control_allow_credentials : bool;
  2. access_control_allow_headers : access_control_allow_headers;
  3. origin_override : bool;
  4. access_control_allow_methods : access_control_allow_methods;
  5. access_control_expose_headers : access_control_expose_headers option;
  6. access_control_allow_origins : access_control_allow_origins;
  7. access_control_max_age_sec : int option;
}

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

and custom_headers_config = {
  1. items : custom_header list;
}

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

and remove_headers_config = {
  1. items : remove_header list;
}

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

and response_headers_policy_config = {
  1. comment : string option;
  2. security_headers_config : security_headers_config option;
  3. remove_headers_config : remove_headers_config option;
  4. cors_config : cors_config option;
  5. server_timing_headers_config : server_timing_headers_config option;
  6. custom_headers_config : custom_headers_config option;
  7. name : string;
}

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

type properties = {
  1. response_headers_policy_config : response_headers_policy_config;
}

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

val make_properties : response_headers_policy_config:response_headers_policy_config -> unit -> properties
val make_custom_header : header:string -> value:string -> override:bool -> unit -> custom_header
val make_content_type_options : override:bool -> unit -> content_type_options
val make_access_control_allow_methods : items:string list -> unit -> access_control_allow_methods
val make_xss_protection : ?report_uri:string -> override:bool -> protection:bool -> ?mode_block:bool -> unit -> xss_protection
val make_access_control_allow_headers : items:string list -> unit -> access_control_allow_headers
val make_access_control_allow_origins : items:string list -> unit -> access_control_allow_origins
val make_frame_options : frame_option:string -> override:bool -> unit -> frame_options
val make_content_security_policy : content_security_policy:string -> override:bool -> unit -> content_security_policy
val make_access_control_expose_headers : items:string list -> unit -> access_control_expose_headers
val make_remove_header : header:string -> unit -> remove_header
val make_server_timing_headers_config : enabled:bool -> ?sampling_rate:float -> unit -> server_timing_headers_config
val make_strict_transport_security : ?preload:bool -> access_control_max_age_sec:int -> ?include_subdomains:bool -> override:bool -> unit -> strict_transport_security
val make_referrer_policy : override:bool -> referrer_policy:string -> unit -> referrer_policy
val make_security_headers_config : ?content_security_policy:content_security_policy -> ?frame_options:frame_options -> ?content_type_options:content_type_options -> ?strict_transport_security:strict_transport_security -> ?xss_protection:xss_protection -> ?referrer_policy:referrer_policy -> unit -> security_headers_config
val make_cors_config : access_control_allow_credentials:bool -> access_control_allow_headers:access_control_allow_headers -> origin_override:bool -> access_control_allow_methods:access_control_allow_methods -> ?access_control_expose_headers:access_control_expose_headers -> access_control_allow_origins:access_control_allow_origins -> ?access_control_max_age_sec:int -> unit -> cors_config
val make_custom_headers_config : items:custom_header list -> unit -> custom_headers_config
val make_remove_headers_config : items:remove_header list -> unit -> remove_headers_config
val make_response_headers_policy_config : ?comment:string -> ?security_headers_config:security_headers_config -> ?remove_headers_config:remove_headers_config -> ?cors_config:cors_config -> ?server_timing_headers_config:server_timing_headers_config -> ?custom_headers_config:custom_headers_config -> name:string -> unit -> response_headers_policy_config
val yojson_of_custom_header : custom_header -> Yojson.Safe.t
val yojson_of_content_type_options : content_type_options -> Yojson.Safe.t
val yojson_of_access_control_allow_methods : access_control_allow_methods -> Yojson.Safe.t
val yojson_of_xss_protection : xss_protection -> Yojson.Safe.t
val yojson_of_access_control_allow_headers : access_control_allow_headers -> Yojson.Safe.t
val yojson_of_access_control_allow_origins : access_control_allow_origins -> Yojson.Safe.t
val yojson_of_frame_options : frame_options -> Yojson.Safe.t
val yojson_of_content_security_policy : content_security_policy -> Yojson.Safe.t
val yojson_of_access_control_expose_headers : access_control_expose_headers -> Yojson.Safe.t
val yojson_of_remove_header : remove_header -> Yojson.Safe.t
val yojson_of_server_timing_headers_config : server_timing_headers_config -> Yojson.Safe.t
val yojson_of_strict_transport_security : strict_transport_security -> Yojson.Safe.t
val yojson_of_referrer_policy : referrer_policy -> Yojson.Safe.t
val yojson_of_security_headers_config : security_headers_config -> Yojson.Safe.t
val yojson_of_cors_config : cors_config -> Yojson.Safe.t
val yojson_of_custom_headers_config : custom_headers_config -> Yojson.Safe.t
val yojson_of_remove_headers_config : remove_headers_config -> Yojson.Safe.t
val yojson_of_response_headers_policy_config : response_headers_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