Class: Aws::CloudFront::Types::ResponseHeadersPolicyStrictTransportSecurity

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#access_control_max_age_secInteger

A number that CloudFront uses as the value for the ‘max-age` directive in the `Strict-Transport-Security` HTTP response header.

Returns:

  • (Integer)


11054
11055
11056
11057
11058
11059
11060
11061
# File 'lib/aws-sdk-cloudfront/types.rb', line 11054

class ResponseHeadersPolicyStrictTransportSecurity < Struct.new(
  :override,
  :include_subdomains,
  :preload,
  :access_control_max_age_sec)
  SENSITIVE = []
  include Aws::Structure
end

#include_subdomainsBoolean

A Boolean that determines whether CloudFront includes the ‘includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.

Returns:

  • (Boolean)


11054
11055
11056
11057
11058
11059
11060
11061
# File 'lib/aws-sdk-cloudfront/types.rb', line 11054

class ResponseHeadersPolicyStrictTransportSecurity < Struct.new(
  :override,
  :include_subdomains,
  :preload,
  :access_control_max_age_sec)
  SENSITIVE = []
  include Aws::Structure
end

#overrideBoolean

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.

Returns:

  • (Boolean)


11054
11055
11056
11057
11058
11059
11060
11061
# File 'lib/aws-sdk-cloudfront/types.rb', line 11054

class ResponseHeadersPolicyStrictTransportSecurity < Struct.new(
  :override,
  :include_subdomains,
  :preload,
  :access_control_max_age_sec)
  SENSITIVE = []
  include Aws::Structure
end

#preloadBoolean

A Boolean that determines whether CloudFront includes the ‘preload` directive in the `Strict-Transport-Security` HTTP response header.

Returns:

  • (Boolean)


11054
11055
11056
11057
11058
11059
11060
11061
# File 'lib/aws-sdk-cloudfront/types.rb', line 11054

class ResponseHeadersPolicyStrictTransportSecurity < Struct.new(
  :override,
  :include_subdomains,
  :preload,
  :access_control_max_age_sec)
  SENSITIVE = []
  include Aws::Structure
end