Class: Aws::CloudFront::Types::ResponseHeadersPolicyConfig

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudfront/types.rb

Overview

A response headers policy configuration.

A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

A comment to describe the response headers policy.

The comment cannot be longer than 128 characters.

Returns:

  • (String)


10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#cors_configTypes::ResponseHeadersPolicyCorsConfig

A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).



10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#custom_headers_configTypes::ResponseHeadersPolicyCustomHeadersConfig

A configuration for a set of custom HTTP response headers.



10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A name to identify the response headers policy.

The name must be unique for response headers policies in this Amazon Web Services account.

Returns:

  • (String)


10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#remove_headers_configTypes::ResponseHeadersPolicyRemoveHeadersConfig

A configuration for a set of HTTP headers to remove from the HTTP response.



10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#security_headers_configTypes::ResponseHeadersPolicySecurityHeadersConfig

A configuration for a set of security-related HTTP response headers.



10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end

#server_timing_headers_configTypes::ResponseHeadersPolicyServerTimingHeadersConfig

A configuration for enabling the ‘Server-Timing` header in HTTP responses sent from CloudFront.



10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
# File 'lib/aws-sdk-cloudfront/types.rb', line 10463

class ResponseHeadersPolicyConfig < Struct.new(
  :comment,
  :name,
  :cors_config,
  :security_headers_config,
  :server_timing_headers_config,
  :custom_headers_config,
  :remove_headers_config)
  SENSITIVE = []
  include Aws::Structure
end