com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.networkservices.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property requestHeaderToAdds Describes a header to add.
* Structure is documented below.
* @property requestHeaderToRemoves A list of header names for headers that need to be removed from the request prior to forwarding the request to the origin.
* Structure is documented below.
* @property responseHeaderToAdds Headers to add to the response prior to sending it back to the client.
* Response headers are only sent to the client, and do not have an effect on the cache serving the response.
* Structure is documented below.
* @property responseHeaderToRemoves A list of header names for headers that need to be removed from the request prior to forwarding the request to the origin.
* Structure is documented below.
*/
public data class EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction(
public val requestHeaderToAdds: List? = null,
public val requestHeaderToRemoves: List? = null,
public val responseHeaderToAdds: List? = null,
public val responseHeaderToRemoves: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.networkservices.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction): EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction =
EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderAction(
requestHeaderToAdds = javaType.requestHeaderToAdds().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderActionRequestHeaderToAdd.Companion.toKotlin(args0)
})
}),
requestHeaderToRemoves = javaType.requestHeaderToRemoves().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderActionRequestHeaderToRemove.Companion.toKotlin(args0)
})
}),
responseHeaderToAdds = javaType.responseHeaderToAdds().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderActionResponseHeaderToAdd.Companion.toKotlin(args0)
})
}),
responseHeaderToRemoves = javaType.responseHeaderToRemoves().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.networkservices.kotlin.outputs.EdgeCacheServiceRoutingPathMatcherRouteRuleHeaderActionResponseHeaderToRemove.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy