Rule Rule Action Args
data class RuleRuleActionArgs(val corsConfig: Output<RuleRuleActionCorsConfigArgs>? = null, val fixedResponseConfig: Output<RuleRuleActionFixedResponseConfigArgs>? = null, val forwardGroupConfig: Output<RuleRuleActionForwardGroupConfigArgs>? = null, val insertHeaderConfig: Output<RuleRuleActionInsertHeaderConfigArgs>? = null, val order: Output<Int>, val redirectConfig: Output<RuleRuleActionRedirectConfigArgs>? = null, val rewriteConfig: Output<RuleRuleActionRewriteConfigArgs>? = null, val trafficLimitConfig: Output<RuleRuleActionTrafficLimitConfigArgs>? = null, val trafficMirrorConfig: Output<RuleRuleActionTrafficMirrorConfigArgs>? = null, val type: Output<String>) : ConvertibleToJava<RuleRuleActionArgs>
Constructors
Link copied to clipboard
fun RuleRuleActionArgs(corsConfig: Output<RuleRuleActionCorsConfigArgs>? = null, fixedResponseConfig: Output<RuleRuleActionFixedResponseConfigArgs>? = null, forwardGroupConfig: Output<RuleRuleActionForwardGroupConfigArgs>? = null, insertHeaderConfig: Output<RuleRuleActionInsertHeaderConfigArgs>? = null, order: Output<Int>, redirectConfig: Output<RuleRuleActionRedirectConfigArgs>? = null, rewriteConfig: Output<RuleRuleActionRewriteConfigArgs>? = null, trafficLimitConfig: Output<RuleRuleActionTrafficLimitConfigArgs>? = null, trafficMirrorConfig: Output<RuleRuleActionTrafficMirrorConfigArgs>? = null, type: Output<String>)
Functions
Properties
Link copied to clipboard
The action type. Valid values: ForwardGroup
, Redirect
, FixedResponse
, Rewrite
, InsertHeader
, TrafficLimit
, TrafficMirror
and Cors
. Note: The preceding actions can be classified into two types: FinalType
: A forwarding rule can contain only one FinalType
action, which is executed last. This type of action can contain only one ForwardGroup
, Redirect
or FixedResponse
action. ExtType
: A forwarding rule can contain one or more ExtType
actions, which are executed before FinalType
actions and need to coexist with the FinalType
actions. This type of action can contain multiple InsertHeader
actions or one Rewrite
action. NOTE: The TrafficLimit
and TrafficMirror
option is available since 1.162.0. NOTE: From version 1.205.0, type
can be set to Cors
.