public static interface CfnListenerRule.AuthenticateCognitoConfigProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.elasticloadbalancingv2.*; AuthenticateCognitoConfigProperty authenticateCognitoConfigProperty = AuthenticateCognitoConfigProperty.builder() .userPoolArn("userPoolArn") .userPoolClientId("userPoolClientId") .userPoolDomain("userPoolDomain") // the properties below are optional .authenticationRequestExtraParams(Map.of( "authenticationRequestExtraParamsKey", "authenticationRequestExtraParams")) .onUnauthenticatedRequest("onUnauthenticatedRequest") .scope("scope") .sessionCookieName("sessionCookieName") .sessionTimeout(123) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnListenerRule.AuthenticateCognitoConfigProperty.Builder
A builder for
CfnListenerRule.AuthenticateCognitoConfigProperty |
static class |
CfnListenerRule.AuthenticateCognitoConfigProperty.Jsii$Proxy
An implementation for
CfnListenerRule.AuthenticateCognitoConfigProperty |
Modifier and Type | Method and Description |
---|---|
static CfnListenerRule.AuthenticateCognitoConfigProperty.Builder |
builder() |
default java.lang.Object |
getAuthenticationRequestExtraParams()
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
default java.lang.String |
getOnUnauthenticatedRequest()
The behavior if the user is not authenticated.
|
default java.lang.String |
getScope()
The set of user claims to be requested from the IdP.
|
default java.lang.String |
getSessionCookieName()
The name of the cookie used to maintain session information.
|
default java.lang.Number |
getSessionTimeout()
The maximum duration of the authentication session, in seconds.
|
java.lang.String |
getUserPoolArn()
The Amazon Resource Name (ARN) of the Amazon Cognito user pool.
|
java.lang.String |
getUserPoolClientId()
The ID of the Amazon Cognito user pool client.
|
java.lang.String |
getUserPoolDomain()
The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
|
java.lang.String getUserPoolArn()
java.lang.String getUserPoolClientId()
java.lang.String getUserPoolDomain()
default java.lang.Object getAuthenticationRequestExtraParams()
default java.lang.String getOnUnauthenticatedRequest()
default java.lang.String getScope()
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
default java.lang.String getSessionCookieName()
The default is AWSELBAuthSessionCookie.
default java.lang.Number getSessionTimeout()
The default is 604800 seconds (7 days).
static CfnListenerRule.AuthenticateCognitoConfigProperty.Builder builder()