public static interface AuthenticateCognitoActionConfig.Builder extends SdkPojo, CopyableBuilder<AuthenticateCognitoActionConfig.Builder,AuthenticateCognitoActionConfig>
Modifier and Type | Method and Description |
---|---|
AuthenticateCognitoActionConfig.Builder |
authenticationRequestExtraParams(Map<String,String> authenticationRequestExtraParams)
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
AuthenticateCognitoActionConfig.Builder |
onUnauthenticatedRequest(AuthenticateCognitoActionConditionalBehaviorEnum onUnauthenticatedRequest)
The behavior if the user is not authenticated.
|
AuthenticateCognitoActionConfig.Builder |
onUnauthenticatedRequest(String onUnauthenticatedRequest)
The behavior if the user is not authenticated.
|
AuthenticateCognitoActionConfig.Builder |
scope(String scope)
The set of user claims to be requested from the IdP.
|
AuthenticateCognitoActionConfig.Builder |
sessionCookieName(String sessionCookieName)
The name of the cookie used to maintain session information.
|
AuthenticateCognitoActionConfig.Builder |
sessionTimeout(Long sessionTimeout)
The maximum duration of the authentication session, in seconds.
|
AuthenticateCognitoActionConfig.Builder |
userPoolArn(String userPoolArn)
The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
|
AuthenticateCognitoActionConfig.Builder |
userPoolClientId(String userPoolClientId)
The ID of the Amazon Cognito user pool client.
|
AuthenticateCognitoActionConfig.Builder |
userPoolDomain(String userPoolDomain)
The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
|
copy
applyMutation, build
AuthenticateCognitoActionConfig.Builder userPoolArn(String userPoolArn)
The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
userPoolArn
- The Amazon Resource Name (ARN) of the Amazon Cognito user pool.AuthenticateCognitoActionConfig.Builder userPoolClientId(String userPoolClientId)
The ID of the Amazon Cognito user pool client.
userPoolClientId
- The ID of the Amazon Cognito user pool client.AuthenticateCognitoActionConfig.Builder userPoolDomain(String userPoolDomain)
The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
userPoolDomain
- The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.AuthenticateCognitoActionConfig.Builder sessionCookieName(String sessionCookieName)
The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.
sessionCookieName
- The name of the cookie used to maintain session information. The default is AWSELBAuthSessionCookie.AuthenticateCognitoActionConfig.Builder scope(String scope)
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.
scope
- 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.
AuthenticateCognitoActionConfig.Builder sessionTimeout(Long sessionTimeout)
The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7 days).
sessionTimeout
- The maximum duration of the authentication session, in seconds. The default is 604800 seconds (7
days).AuthenticateCognitoActionConfig.Builder authenticationRequestExtraParams(Map<String,String> authenticationRequestExtraParams)
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
authenticationRequestExtraParams
- The query parameters (up to 10) to include in the redirect request to the authorization endpoint.AuthenticateCognitoActionConfig.Builder onUnauthenticatedRequest(String onUnauthenticatedRequest)
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.
onUnauthenticatedRequest
- 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.
AuthenticateCognitoActionConditionalBehaviorEnum
,
AuthenticateCognitoActionConditionalBehaviorEnum
AuthenticateCognitoActionConfig.Builder onUnauthenticatedRequest(AuthenticateCognitoActionConditionalBehaviorEnum onUnauthenticatedRequest)
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.
onUnauthenticatedRequest
- 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.
AuthenticateCognitoActionConditionalBehaviorEnum
,
AuthenticateCognitoActionConditionalBehaviorEnum
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.