ResponseHeadersPolicyConfig

data class ResponseHeadersPolicyConfig(val comment: String? = null, val corsConfig: ResponseHeadersPolicyCorsConfig? = null, val customHeadersConfig: ResponseHeadersPolicyCustomHeadersConfig? = null, val name: String, val removeHeadersConfig: ResponseHeadersPolicyRemoveHeadersConfig? = null, val securityHeadersConfig: ResponseHeadersPolicySecurityHeadersConfig? = null, val serverTimingHeadersConfig: ResponseHeadersPolicyServerTimingHeadersConfig? = null)

Constructors

Link copied to clipboard
constructor(comment: String? = null, corsConfig: ResponseHeadersPolicyCorsConfig? = null, customHeadersConfig: ResponseHeadersPolicyCustomHeadersConfig? = null, name: String, removeHeadersConfig: ResponseHeadersPolicyRemoveHeadersConfig? = null, securityHeadersConfig: ResponseHeadersPolicySecurityHeadersConfig? = null, serverTimingHeadersConfig: ResponseHeadersPolicyServerTimingHeadersConfig? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val comment: String? = null

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

Link copied to clipboard

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

Link copied to clipboard

A configuration for a set of custom HTTP response headers.

Link copied to clipboard

A name to identify the response headers policy. The name must be unique for response headers policies in this AWS account .

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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