# UnauthenticatedAction

What to do with unauthenticated requests.

- Source: [`aws-elasticloadbalancingv2/lib/alb/application-listener-action.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-elasticloadbalancingv2/lib/alb/application-listener-action.ts#L489)

## Members

| Member | Description |
| --- | --- |
| `DENY` | Return an HTTP 401 Unauthorized error. |
| `ALLOW` | Allow the request to be forwarded to the target. |
| `AUTHENTICATE` | Redirect the request to the IdP authorization endpoint. |

## Referenced by

- [`AuthenticateCognitoActionProps`](/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2_actions.AuthenticateCognitoActionProps).onUnauthenticatedRequest
- [`AuthenticateOidcOptions`](/v2/docs/aws-cdk-lib.aws_elasticloadbalancingv2.AuthenticateOidcOptions).onUnauthenticatedRequest
