Class: Aws::CloudFront::Types::ResponseHeadersPolicyStrictTransportSecurity
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyStrictTransportSecurity
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudfront/types.rb
Overview
Determines whether CloudFront includes the ‘Strict-Transport-Security` HTTP response header and the header’s value.
For more information about the ‘Strict-Transport-Security` HTTP response header, see [Strict-Transport-Security] in the MDN Web Docs.
[1]: developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Strict-Transport-Security
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access_control_max_age_sec ⇒ Integer
A number that CloudFront uses as the value for the ‘max-age` directive in the `Strict-Transport-Security` HTTP response header.
-
#include_subdomains ⇒ Boolean
A Boolean that determines whether CloudFront includes the ‘includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
-
#override ⇒ Boolean
A Boolean that determines whether CloudFront overrides the ‘Strict-Transport-Security` HTTP response header received from the origin with the one specified in this response headers policy.
-
#preload ⇒ Boolean
A Boolean that determines whether CloudFront includes the ‘preload` directive in the `Strict-Transport-Security` HTTP response header.
Instance Attribute Details
#access_control_max_age_sec ⇒ Integer
A number that CloudFront uses as the value for the ‘max-age` directive in the `Strict-Transport-Security` HTTP response header.
10155 10156 10157 10158 10159 10160 10161 10162 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10155 class ResponseHeadersPolicyStrictTransportSecurity < Struct.new( :override, :include_subdomains, :preload, :access_control_max_age_sec) SENSITIVE = [] include Aws::Structure end |
#include_subdomains ⇒ Boolean
A Boolean that determines whether CloudFront includes the ‘includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.
10155 10156 10157 10158 10159 10160 10161 10162 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10155 class ResponseHeadersPolicyStrictTransportSecurity < Struct.new( :override, :include_subdomains, :preload, :access_control_max_age_sec) SENSITIVE = [] include Aws::Structure end |
#override ⇒ Boolean
A Boolean that determines whether CloudFront overrides the ‘Strict-Transport-Security` HTTP response header received from the origin with the one specified in this response headers policy.
10155 10156 10157 10158 10159 10160 10161 10162 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10155 class ResponseHeadersPolicyStrictTransportSecurity < Struct.new( :override, :include_subdomains, :preload, :access_control_max_age_sec) SENSITIVE = [] include Aws::Structure end |
#preload ⇒ Boolean
A Boolean that determines whether CloudFront includes the ‘preload` directive in the `Strict-Transport-Security` HTTP response header.
10155 10156 10157 10158 10159 10160 10161 10162 |
# File 'lib/aws-sdk-cloudfront/types.rb', line 10155 class ResponseHeadersPolicyStrictTransportSecurity < Struct.new( :override, :include_subdomains, :preload, :access_control_max_age_sec) SENSITIVE = [] include Aws::Structure end |