HttpRouteRuleActionArgs

data class HttpRouteRuleActionArgs(val corsPolicy: Output<HttpRouteRuleActionCorsPolicyArgs>? = null, val destinations: Output<List<HttpRouteRuleActionDestinationArgs>>? = null, val faultInjectionPolicy: Output<HttpRouteRuleActionFaultInjectionPolicyArgs>? = null, val redirect: Output<HttpRouteRuleActionRedirectArgs>? = null, val requestHeaderModifier: Output<HttpRouteRuleActionRequestHeaderModifierArgs>? = null, val requestMirrorPolicy: Output<HttpRouteRuleActionRequestMirrorPolicyArgs>? = null, val responseHeaderModifier: Output<HttpRouteRuleActionResponseHeaderModifierArgs>? = null, val retryPolicy: Output<HttpRouteRuleActionRetryPolicyArgs>? = null, val timeout: Output<String>? = null, val urlRewrite: Output<HttpRouteRuleActionUrlRewriteArgs>? = null) : ConvertibleToJava<HttpRouteRuleActionArgs>

Constructors

Link copied to clipboard
constructor(corsPolicy: Output<HttpRouteRuleActionCorsPolicyArgs>? = null, destinations: Output<List<HttpRouteRuleActionDestinationArgs>>? = null, faultInjectionPolicy: Output<HttpRouteRuleActionFaultInjectionPolicyArgs>? = null, redirect: Output<HttpRouteRuleActionRedirectArgs>? = null, requestHeaderModifier: Output<HttpRouteRuleActionRequestHeaderModifierArgs>? = null, requestMirrorPolicy: Output<HttpRouteRuleActionRequestMirrorPolicyArgs>? = null, responseHeaderModifier: Output<HttpRouteRuleActionResponseHeaderModifierArgs>? = null, retryPolicy: Output<HttpRouteRuleActionRetryPolicyArgs>? = null, timeout: Output<String>? = null, urlRewrite: Output<HttpRouteRuleActionUrlRewriteArgs>? = null)

Properties

Link copied to clipboard

The specification for allowing client side cross-origin requests. Structure is documented below.

Link copied to clipboard

The destination to which traffic should be forwarded. Structure is documented below.

Link copied to clipboard

The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. Structure is documented below.

Link copied to clipboard

If set, the request is directed as configured by this field. Structure is documented below.

Link copied to clipboard

The specification for modifying the headers of a matching request prior to delivery of the request to the destination. Structure is documented below.

Link copied to clipboard

Specifies the policy on how requests intended for the routes destination are shadowed to a separate mirrored destination. Structure is documented below.

Link copied to clipboard

The specification for modifying the headers of a response prior to sending the response back to the client. Structure is documented below.

Link copied to clipboard

Specifies the retry policy associated with this route. Structure is documented below.

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

Specifies the timeout for selected route.

Link copied to clipboard

The specification for rewrite URL before forwarding requests to the destination. Structure is documented below.

Functions

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