CloudFront.ResponseHeadersPolicy
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-responseheaderspolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheader.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contenttypeoptions.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowmethods.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-xssprotection.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolallowheaders.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolalloworigins.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-frameoptions.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-contentsecuritypolicy.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-accesscontrolexposeheaders.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-removeheader.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-servertimingheadersconfig.html
and strict_transport_security = {
preload : bool option;
access_control_max_age_sec : int;
include_subdomains : bool option;
override : bool;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-stricttransportsecurity.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-referrerpolicy.html
and security_headers_config = {
content_security_policy : content_security_policy option;
frame_options : frame_options option;
content_type_options : content_type_options option;
strict_transport_security : strict_transport_security option;
xss_protection : xss_protection option;
referrer_policy : referrer_policy option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-securityheadersconfig.html
and 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 option;
access_control_allow_origins : access_control_allow_origins;
access_control_max_age_sec : int option;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-corsconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-customheadersconfig.html
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-removeheadersconfig.html
and response_headers_policy_config = {
comment : string option;
security_headers_config : security_headers_config option;
remove_headers_config : remove_headers_config option;
cors_config : cors_config option;
server_timing_headers_config : server_timing_headers_config option;
custom_headers_config : custom_headers_config option;
name : string;
}
see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-responseheaderspolicy-responseheaderspolicyconfig.html
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 ]
val create_attributes : string -> attributes