ResponseHeadersPolicyArgs

data class ResponseHeadersPolicyArgs(val responseHeadersPolicyConfig: Output<ResponseHeadersPolicyConfigArgs>? = null) : ConvertibleToJava<ResponseHeadersPolicyArgs>

A response headers policy. A response headers policy contains information about a set of HTTP response headers. After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy. For more information, see Adding or removing HTTP headers in CloudFront responses in the Amazon CloudFront Developer Guide.

Constructors

Link copied to clipboard
constructor(responseHeadersPolicyConfig: Output<ResponseHeadersPolicyConfigArgs>? = null)

Properties

Link copied to clipboard

A response headers policy configuration.

Functions

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