ResponseHeadersPolicyConfigDict¶
Dictionary Type¶
ResponseHeadersPolicyConfigDict
¶
Bases: TypedDict
Dictionary form of ResponseHeadersPolicyConfig.
Attributes¶
comment
instance-attribute
¶
comment: str | None
A comment to describe the response headers policy.
The comment cannot be longer than 128 characters.
cors_config
instance-attribute
¶
cors_config: ResponseHeadersPolicyCorsConfig | ResponseHeadersPolicyCorsConfigDict | None
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: ResponseHeadersPolicyCustomHeadersConfig | ResponseHeadersPolicyCustomHeadersConfigDict | None
A configuration for a set of custom HTTP response headers.
name
instance-attribute
¶
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: ResponseHeadersPolicyRemoveHeadersConfig | ResponseHeadersPolicyRemoveHeadersConfigDict | None
A configuration for a set of HTTP headers to remove from the HTTP response.
security_headers_config
instance-attribute
¶
security_headers_config: ResponseHeadersPolicySecurityHeadersConfig | ResponseHeadersPolicySecurityHeadersConfigDict | None
A configuration for a set of security-related HTTP response headers.
server_timing_headers_config
instance-attribute
¶
server_timing_headers_config: ResponseHeadersPolicyServerTimingHeadersConfig | ResponseHeadersPolicyServerTimingHeadersConfigDict | None
A configuration for enabling the Server-Timing header in HTTP
responses sent from CloudFront.