ActionResponse

data class ActionResponse(val authenticateCognitoConfig: AuthenticateCognitoConfigResponse? = null, val authenticateOidcConfig: AuthenticateOidcConfigResponse? = null, val fixedResponseConfig: FixedResponseConfigResponse? = null, val forwardConfig: ForwardConfigResponse? = null, val order: Int? = null, val redirectConfig: RedirectConfigResponse? = null, val targetGroupArn: String? = null, val type: String? = null)

Definition of Action

Constructors

Link copied to clipboard
constructor(authenticateCognitoConfig: AuthenticateCognitoConfigResponse? = null, authenticateOidcConfig: AuthenticateOidcConfigResponse? = null, fixedResponseConfig: FixedResponseConfigResponse? = null, forwardConfig: ForwardConfigResponse? = null, order: Int? = null, redirectConfig: RedirectConfigResponse? = null, targetGroupArn: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

HTTPS listeners Information for using Amazon Cognito to authenticate users. Specify only when `Type` is `authenticate-cognito`. Specifies information required when integrating with Amazon Cognito to authenticate users.

Link copied to clipboard

HTTPS listeners Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when `Type` is `authenticate-oidc`. Specifies information required using an identity provide (IdP) that is compliant with OpenID Connect (OIDC) to authenticate users.

Link copied to clipboard

Application Load Balancer Information for creating an action that returns a custom HTTP response. Specify only when `Type` is `fixed-response`. Specifies information required when returning a custom HTTP response.

Link copied to clipboard

Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when `Type` is `forward`. If you specify both `ForwardConfig` and `TargetGroupArn`, you can specify only one target group using `ForwardConfig` and it must be the same target group specified in `TargetGroupArn`. Information for creating an action that distributes requests among one or more target groups. For Network Load Balancers, you can specify a single target group. Specify only when `Type` is `forward`. If you specify both `ForwardConfig` and `TargetGroupArn`, you can specify only one target group using `ForwardConfig` and it must be the same target group specified in `TargetGroupArn`.

Link copied to clipboard
val order: Int? = null

The order for the action. This value is required for rules with multiple actions. The action with the lowest value for order is performed first.

Link copied to clipboard

Application Load Balancer Information for creating a redirect action. Specify only when `Type` is `redirect`. Information about a redirect action. A URI consists of the following components: protocol://hostname:port/path?query. You must modify at least one of the following components to avoid a redirect loop: protocol, hostname, port, or path. Any components that you do not modify retain their original values. You can reuse URI components using the following reserved keywords: + #{protocol} + #{host} + #{port} + #{path} (the leading '/' is removed) + #{query} For example, you can change the path to '/new/#{path}', the hostname to 'example.#{host}', or the query to '#{query}&value=xyz'.

Link copied to clipboard
val targetGroupArn: String? = null

The Amazon Resource Name (ARN) of the target group. Specify only when `Type` is `forward` and you want to route to a single target group. To route to one or more target groups, use `ForwardConfig` instead.

Link copied to clipboard
val type: String? = null

The type of action.