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

Elastic Load Balancing V2 Action

The Action property type specifies the default actions that the Elastic Load Balancing listener takes when handling incoming requests.

The DefaultActions property of the AWS::ElasticLoadBalancingV2::Listener resource contains a list of Action property types.




[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


[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


[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


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


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

Required: No

Type: RedirectConfig

Update requires: No interruption


The Amazon Resource Name (ARN) of the target group to which Elastic Load Balancing routes the traffic. Specify only when Type is forward.

Required: No

Type: String


The type of action. Each rule must include exactly one of the following types of actions: forward, fixed-response, or redirect.

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

Required: Yes

Type: String

See Also

  • Action in the Elastic Load Balancing API Reference version 2015-12-01

On this page: