HttpHeaderActionArgs

data class HttpHeaderActionArgs(val requestHeadersToAdd: Output<List<HttpHeaderOptionArgs>>? = null, val requestHeadersToRemove: Output<List<String>>? = null, val responseHeadersToAdd: Output<List<HttpHeaderOptionArgs>>? = null, val responseHeadersToRemove: Output<List<String>>? = null) : ConvertibleToJava<HttpHeaderActionArgs>

The request and response header transformations that take effect before the request is passed along to the selected backendService.

Constructors

Link copied to clipboard
fun HttpHeaderActionArgs(requestHeadersToAdd: Output<List<HttpHeaderOptionArgs>>? = null, requestHeadersToRemove: Output<List<String>>? = null, responseHeadersToAdd: Output<List<HttpHeaderOptionArgs>>? = null, responseHeadersToRemove: Output<List<String>>? = null)

Functions

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

Properties

Link copied to clipboard

Headers to add to a matching request before forwarding the request to the backendService.

Link copied to clipboard
val requestHeadersToRemove: Output<List<String>>? = null

A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.

Link copied to clipboard

Headers to add the response before sending the response back to the client.

Link copied to clipboard
val responseHeadersToRemove: Output<List<String>>? = null

A list of header names for headers that need to be removed from the response before sending the response back to the client.