ListenerRuleActionArgs

data class ListenerRuleActionArgs(val authenticateCognito: Output<ListenerRuleActionAuthenticateCognitoArgs>? = null, val authenticateOidc: Output<ListenerRuleActionAuthenticateOidcArgs>? = null, val fixedResponse: Output<ListenerRuleActionFixedResponseArgs>? = null, val forward: Output<ListenerRuleActionForwardArgs>? = null, val order: Output<Int>? = null, val redirect: Output<ListenerRuleActionRedirectArgs>? = null, val targetGroupArn: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<ListenerRuleActionArgs>

Constructors

Link copied to clipboard
constructor(authenticateCognito: Output<ListenerRuleActionAuthenticateCognitoArgs>? = null, authenticateOidc: Output<ListenerRuleActionAuthenticateOidcArgs>? = null, fixedResponse: Output<ListenerRuleActionFixedResponseArgs>? = null, forward: Output<ListenerRuleActionForwardArgs>? = null, order: Output<Int>? = null, redirect: Output<ListenerRuleActionRedirectArgs>? = null, targetGroupArn: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard

Information for creating an authenticate action using Cognito. Required if type is authenticate-cognito.

Link copied to clipboard

Information for creating an authenticate action using OIDC. Required if type is authenticate-oidc.

Link copied to clipboard

Information for creating an action that returns a custom HTTP response. Required if type is fixed-response.

Link copied to clipboard

Configuration block for creating an action that distributes requests among one or more target groups. Specify only if type is forward. Cannot be specified with target_group_arn.

Link copied to clipboard
val order: Output<Int>? = null

Order for the action. The action with the lowest value for order is performed first. Valid values are between 1 and 50000. Defaults to the position in the list of actions.

Link copied to clipboard

Information for creating a redirect action. Required if type is redirect.

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

ARN of the Target Group to which to route traffic. Specify only if type is forward and you want to route to a single target group. To route to one or more target groups, use a forward block instead. Cannot be specified with forward.

Link copied to clipboard
val type: Output<String>

The type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc.

Functions

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