ListenerDefaultAction

data class ListenerDefaultAction(val authenticateCognito: ListenerDefaultActionAuthenticateCognito? = null, val authenticateOidc: ListenerDefaultActionAuthenticateOidc? = null, val fixedResponse: ListenerDefaultActionFixedResponse? = null, val forward: ListenerDefaultActionForward? = null, val order: Int? = null, val redirect: ListenerDefaultActionRedirect? = null, val targetGroupArn: String? = null, val type: String)

Constructors

Link copied to clipboard
constructor(authenticateCognito: ListenerDefaultActionAuthenticateCognito? = null, authenticateOidc: ListenerDefaultActionAuthenticateOidc? = null, fixedResponse: ListenerDefaultActionFixedResponse? = null, forward: ListenerDefaultActionForward? = null, order: Int? = null, redirect: ListenerDefaultActionRedirect? = null, targetGroupArn: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configuration block for using Amazon Cognito to authenticate users. Specify only when type is authenticate-cognito. See 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. See 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. See below.

Link copied to clipboard
val order: 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

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

Link copied to clipboard
val targetGroupArn: 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. Can be specified with forward but ARNs must match.

Link copied to clipboard

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