Class: Aws::CloudFront::Types::ResponseHeadersPolicyConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudFront::Types::ResponseHeadersPolicyConfig
- Defined in:
- gems/aws-sdk-cloudfront/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
-
#comment ⇒ String
A comment to describe the response headers policy.
-
#cors_config ⇒ Types::ResponseHeadersPolicyCorsConfig
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
-
#custom_headers_config ⇒ Types::ResponseHeadersPolicyCustomHeadersConfig
A configuration for a set of custom HTTP response headers.
-
#name ⇒ String
A name to identify the response headers policy.
-
#remove_headers_config ⇒ Types::ResponseHeadersPolicyRemoveHeadersConfig
A configuration for a set of HTTP headers to remove from the HTTP response.
-
#security_headers_config ⇒ Types::ResponseHeadersPolicySecurityHeadersConfig
A configuration for a set of security-related HTTP response headers.
-
#server_timing_headers_config ⇒ Types::ResponseHeadersPolicyServerTimingHeadersConfig
A configuration for enabling the
Server-Timing
header in HTTP responses sent from CloudFront.
Instance Attribute Details
#comment ⇒ String
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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_config ⇒ Types::ResponseHeadersPolicyCorsConfig
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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_config ⇒ Types::ResponseHeadersPolicyCustomHeadersConfig
A configuration for a set of custom HTTP response headers.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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 |
#name ⇒ String
A name to identify the response headers policy.
The name must be unique for response headers policies in this Amazon Web Services account.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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_config ⇒ Types::ResponseHeadersPolicyRemoveHeadersConfig
A configuration for a set of HTTP headers to remove from the HTTP response.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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_config ⇒ Types::ResponseHeadersPolicySecurityHeadersConfig
A configuration for a set of security-related HTTP response headers.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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_config ⇒ Types::ResponseHeadersPolicyServerTimingHeadersConfig
A configuration for enabling the Server-Timing
header in HTTP
responses sent from CloudFront.
9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 |
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/types.rb', line 9902 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 |