ResponseHeadersPolicyConfig
¶
Used by
Source code in docs_src/capo_cloudfront/types/response_headers_policy_config.py
comment
instance-attribute
¶
comment: NotRequired[string]
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
cors_config
instance-attribute
¶
cors_config: NotRequired[ResponseHeadersPolicyCorsConfig]
A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
custom_headers_config
instance-attribute
¶
custom_headers_config: NotRequired[ResponseHeadersPolicyCustomHeadersConfig]
A configuration for a set of custom HTTP response headers.
name
instance-attribute
¶
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.
remove_headers_config
instance-attribute
¶
remove_headers_config: NotRequired[ResponseHeadersPolicyRemoveHeadersConfig]
A configuration for a set of HTTP headers to remove from the HTTP response.
security_headers_config
instance-attribute
¶
security_headers_config: NotRequired[ResponseHeadersPolicySecurityHeadersConfig]
A configuration for a set of security-related HTTP response headers.
server_timing_headers_config
instance-attribute
¶
server_timing_headers_config: NotRequired[
ResponseHeadersPolicyServerTimingHeadersConfig
]
A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.