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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudfront/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.

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)


10136
10137
10138
10139
10140
10141
10142
10143
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10136

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)


10136
10137
10138
10139
10140
10141
10142
10143
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10136

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)


10136
10137
10138
10139
10140
10141
10142
10143
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10136

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)


10136
10137
10138
10139
10140
10141
10142
10143
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 10136

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