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)


10491
10492
10493
10494
10495
10496
10497
10498
# File 'lib/aws-sdk-cloudfront/types.rb', line 10491

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)


10491
10492
10493
10494
10495
10496
10497
10498
# File 'lib/aws-sdk-cloudfront/types.rb', line 10491

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)


10491
10492
10493
10494
10495
10496
10497
10498
# File 'lib/aws-sdk-cloudfront/types.rb', line 10491

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)


10491
10492
10493
10494
10495
10496
10497
10498
# File 'lib/aws-sdk-cloudfront/types.rb', line 10491

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