AWS CloudFormation
User Guide (API Version 2010-05-15)

Elastic Load Balancing ListenerRule Actions

Actions is a property of the AWS::ElasticLoadBalancingV2::ListenerRule resource that specifies the actions an Elastic Load Balancing listener takes when an incoming request meets a listener rule's condition.

Syntax

Properties

AuthenticateCognitoConfig

[HTTPS listener] Information for using Amazon Cognito to authenticate users. Specify only when Type is authenticate-cognito.

Required: No

Type: AuthenticateCognitoConfig

Update requires: No interruption

AuthenticateOidcConfig

[HTTPS listener] Information about an identity provider that is compliant with OpenID Connect (OIDC). Specify only when Type is authenticate-oidc.

Required: No

Type: AuthenticateOidcConfig

Update requires: No interruption

FixedResponseConfig

[Application Load Balancer] Information for creating an action that returns a custom HTTP response. Specify only when Type is fixed-response.

Required: No

Type: FixedResponseConfig

Update requires: No interruption

Order

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. The final action to be performed must be a forward or a fixed-response action.

Valid Range: Minimum value of 1. Maximum value of 50000.

Required: No

Type: Integer

Update requires: No interruption

RedirectConfig

[Application Load Balancer] Information for creating a redirect action. Specify only when Type is redirect.

Required: No

Type: RedirectConfig

Update requires: No interruption

TargetGroupArn

The Amazon Resource Name (ARN) of the target group to which Elastic Load Balancing routes the traffic.

Required: Yes

Type: String

Type

The type of action.

Valid values: forward | authenticate-oidc | authenticate-cognito | redirect | fixed-response

Required: Yes

Type: String

On this page: