AuthenticateCognitoActionConfig
¶
Source code in docs_src/capo_elastic_load_balancing_v2/types/authenticate_cognito_action_config.py
authentication_request_extra_params
instance-attribute
¶
authentication_request_extra_params: NotRequired[
AuthenticateCognitoActionAuthenticationRequestExtraParams
]
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
on_unauthenticated_request
instance-attribute
¶
on_unauthenticated_request: NotRequired[
AuthenticateCognitoActionConditionalBehaviorEnum
]
The behavior if the user is not authenticated. The following are possible values:
-
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. This is the default value.
scope
instance-attribute
¶
scope: NotRequired[AuthenticateCognitoActionScope]
The set of user claims to be requested from the IdP. The default is openid.
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
session_cookie_name
instance-attribute
¶
session_cookie_name: NotRequired[AuthenticateCognitoActionSessionCookieName]
The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
session_timeout
instance-attribute
¶
session_timeout: NotRequired[AuthenticateCognitoActionSessionTimeout]
The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
user_pool_arn
instance-attribute
¶
user_pool_arn: NotRequired[AuthenticateCognitoActionUserPoolArn]
The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
user_pool_client_id
instance-attribute
¶
user_pool_client_id: NotRequired[AuthenticateCognitoActionUserPoolClientId]
The ID of the Amazon Cognito user pool client.
user_pool_domain
instance-attribute
¶
user_pool_domain: NotRequired[AuthenticateCognitoActionUserPoolDomain]
The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.