ListenerDefaultActionArgs

data class ListenerDefaultActionArgs(val authenticateCognito: Output<ListenerDefaultActionAuthenticateCognitoArgs>? = null, val authenticateOidc: Output<ListenerDefaultActionAuthenticateOidcArgs>? = null, val fixedResponse: Output<ListenerDefaultActionFixedResponseArgs>? = null, val forward: Output<ListenerDefaultActionForwardArgs>? = null, val order: Output<Int>? = null, val redirect: Output<ListenerDefaultActionRedirectArgs>? = null, val targetGroupArn: Output<String>? = null, val type: Output<String>) : ConvertibleToJava<ListenerDefaultActionArgs>

Constructors

Link copied to clipboard
constructor(authenticateCognito: Output<ListenerDefaultActionAuthenticateCognitoArgs>? = null, authenticateOidc: Output<ListenerDefaultActionAuthenticateOidcArgs>? = null, fixedResponse: Output<ListenerDefaultActionFixedResponseArgs>? = null, forward: Output<ListenerDefaultActionForwardArgs>? = null, order: Output<Int>? = null, redirect: Output<ListenerDefaultActionRedirectArgs>? = null, targetGroupArn: Output<String>? = null, type: Output<String>)

Properties

Link copied to clipboard

Configuration block for using Amazon Cognito to authenticate users. Specify only when type is authenticate-cognito. Detailed below.

Link copied to clipboard

Configuration block for an identity provider that is compliant with OpenID Connect (OIDC). Specify only when type is authenticate-oidc. Detailed below.

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. If you specify both forward block and target_group_arn attribute, you can specify only one target group using forward and it must be the same target group specified in target_group_arn. Detailed below.

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

Order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first. Valid values are between 1 and 50000.

Link copied to clipboard

Configuration block for creating a redirect action. Required if type is redirect. Detailed below.

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.

Link copied to clipboard
val type: Output<String>

Type of routing action. Valid values are forward, redirect, fixed-response, authenticate-cognito and authenticate-oidc. The following arguments are optional:

Functions

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