GetResponseHeadersPolicyResult

data class GetResponseHeadersPolicyResult(val comment: String, val corsConfigs: List<GetResponseHeadersPolicyCorsConfig>, val customHeadersConfigs: List<GetResponseHeadersPolicyCustomHeadersConfig>, val etag: String, val id: String, val name: String, val removeHeadersConfigs: List<GetResponseHeadersPolicyRemoveHeadersConfig>, val securityHeadersConfigs: List<GetResponseHeadersPolicySecurityHeadersConfig>, val serverTimingHeadersConfigs: List<GetResponseHeadersPolicyServerTimingHeadersConfig>)

A collection of values returned by getResponseHeadersPolicy.

Constructors

Link copied to clipboard
constructor(comment: String, corsConfigs: List<GetResponseHeadersPolicyCorsConfig>, customHeadersConfigs: List<GetResponseHeadersPolicyCustomHeadersConfig>, etag: String, id: String, name: String, removeHeadersConfigs: List<GetResponseHeadersPolicyRemoveHeadersConfig>, securityHeadersConfigs: List<GetResponseHeadersPolicySecurityHeadersConfig>, serverTimingHeadersConfigs: List<GetResponseHeadersPolicyServerTimingHeadersConfig>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Comment to describe the response headers policy. The comment cannot be longer than 128 characters.

Link copied to clipboard

Configuration for a set of HTTP response headers that are used for Cross-Origin Resource Sharing (CORS). See Cors Config for more information.

Link copied to clipboard

Object that contains an attribute items that contains a list of Custom Headers. See Custom Header for more information.

Link copied to clipboard

Current version of the response headers policy.

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard

Object that contains an attribute items that contains a list of Remove Headers. See Remove Header for more information.

Link copied to clipboard

A configuration for a set of security-related HTTP response headers. See Security Headers Config for more information.

Link copied to clipboard

(Optional) Configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront. See Server Timing Headers Config for more information.