RuleRuleActionArgs

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 removeHeaderConfig: Output<RuleRuleActionRemoveHeaderConfigArgs>? = 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
constructor(corsConfig: Output<RuleRuleActionCorsConfigArgs>? = null, fixedResponseConfig: Output<RuleRuleActionFixedResponseConfigArgs>? = null, forwardGroupConfig: Output<RuleRuleActionForwardGroupConfigArgs>? = null, insertHeaderConfig: Output<RuleRuleActionInsertHeaderConfigArgs>? = null, order: Output<Int>, redirectConfig: Output<RuleRuleActionRedirectConfigArgs>? = null, removeHeaderConfig: Output<RuleRuleActionRemoveHeaderConfigArgs>? = null, rewriteConfig: Output<RuleRuleActionRewriteConfigArgs>? = null, trafficLimitConfig: Output<RuleRuleActionTrafficLimitConfigArgs>? = null, trafficMirrorConfig: Output<RuleRuleActionTrafficMirrorConfigArgs>? = null, type: Output<String>)

Properties

Link copied to clipboard

Request forwarding based on CORS. See cors_config below.

Link copied to clipboard

The configuration of the fixed response. See fixed_response_config below.

Link copied to clipboard

The forward response action within ALB. See forward_group_config below.

Link copied to clipboard

The configuration of the inserted header field. See insert_header_config below.

Link copied to clipboard
val order: Output<Int>

The order of the forwarding rule actions. Valid values: 1 to 50000. The actions are performed in ascending order. You cannot leave this parameter empty. Each value must be unique.

Link copied to clipboard

The configuration of the external redirect action. See redirect_config below.

Link copied to clipboard

The configuration of the inserted header field. See remove_header_config below.

Link copied to clipboard

The redirect action within ALB. See rewrite_config below.

Link copied to clipboard

The Flow speed limit. See traffic_limit_config below.

Link copied to clipboard

The Traffic mirroring. See traffic_mirror_config below.

Link copied to clipboard
val type: Output<String>

The action type. Valid values: ForwardGroup, Redirect, FixedResponse, Rewrite, InsertHeader, RemoveHeader, 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.

Functions

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