ResponseHeadersPolicyConfigArgs

data class ResponseHeadersPolicyConfigArgs(val comment: Output<String>? = null, val corsConfig: Output<ResponseHeadersPolicyCorsConfigArgs>? = null, val customHeadersConfig: Output<ResponseHeadersPolicyCustomHeadersConfigArgs>? = null, val name: Output<String>, val removeHeadersConfig: Output<ResponseHeadersPolicyRemoveHeadersConfigArgs>? = null, val securityHeadersConfig: Output<ResponseHeadersPolicySecurityHeadersConfigArgs>? = null, val serverTimingHeadersConfig: Output<ResponseHeadersPolicyServerTimingHeadersConfigArgs>? = null) : ConvertibleToJava<ResponseHeadersPolicyConfigArgs>

Constructors

Link copied to clipboard
constructor(comment: Output<String>? = null, corsConfig: Output<ResponseHeadersPolicyCorsConfigArgs>? = null, customHeadersConfig: Output<ResponseHeadersPolicyCustomHeadersConfigArgs>? = null, name: Output<String>, removeHeadersConfig: Output<ResponseHeadersPolicyRemoveHeadersConfigArgs>? = null, securityHeadersConfig: Output<ResponseHeadersPolicySecurityHeadersConfigArgs>? = null, serverTimingHeadersConfig: Output<ResponseHeadersPolicyServerTimingHeadersConfigArgs>? = null)

Properties

Link copied to clipboard
val comment: Output<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
val name: Output<String>

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.

Functions

Link copied to clipboard
open override fun toJava(): ResponseHeadersPolicyConfigArgs