HttpRouteHeaderModifierArgs

data class HttpRouteHeaderModifierArgs(val add: Output<Map<String, String>>? = null, val remove: Output<List<String>>? = null, val set: Output<Map<String, String>>? = null) : ConvertibleToJava<HttpRouteHeaderModifierArgs>

The specification for modifying HTTP header in HTTP request and HTTP response.

Constructors

Link copied to clipboard
fun HttpRouteHeaderModifierArgs(add: Output<Map<String, String>>? = null, remove: Output<List<String>>? = null, set: Output<Map<String, String>>? = null)

Functions

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

Properties

Link copied to clipboard
val add: Output<Map<String, String>>? = null

Add the headers with given map where key is the name of the header, value is the value of the header.

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

Remove headers (matching by header names) specified in the list.

Link copied to clipboard
val set: Output<Map<String, String>>? = null

Completely overwrite/replace the headers with given map where key is the name of the header, value is the value of the header.