@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.136Z") @Stability(value=Stable) public class AuthenticateCognitoAction extends ListenerAction
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
import software.amazon.awscdk.services.elasticloadbalancingv2.actions.*;
ListenerAction listenerAction;
SecretValue secretValue;
ListenerAction authenticateCognitoAction = AuthenticateCognitoAction.authenticateOidc(AuthenticateOidcOptions.builder()
.authorizationEndpoint("authorizationEndpoint")
.clientId("clientId")
.clientSecret(secretValue)
.issuer("issuer")
.next(listenerAction)
.tokenEndpoint("tokenEndpoint")
.userInfoEndpoint("userInfoEndpoint")
// the properties below are optional
.authenticationRequestExtraParams(Map.of(
"authenticationRequestExtraParamsKey", "authenticationRequestExtraParams"))
.onUnauthenticatedRequest(UnauthenticatedAction.DENY)
.scope("scope")
.sessionCookieName("sessionCookieName")
.sessionTimeout(Duration.minutes(30))
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticateCognitoAction.Builder
A fluent builder for
AuthenticateCognitoAction. |
software.amazon.jsii.JsiiObject.InitializationModeIListenerAction.Jsii$Default, IListenerAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
AuthenticateCognitoAction(AuthenticateCognitoActionProps options)
Authenticate using an identity provide (IdP) that is compliant with OpenID Connect (OIDC).
|
protected |
AuthenticateCognitoAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
AuthenticateCognitoAction(software.amazon.jsii.JsiiObjectRef objRef) |
authenticateOidc, bind, bind, fixedResponse, fixedResponse, forward, forward, getNext, redirect, renderActions, renumber, weightedForward, weightedForwardjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected AuthenticateCognitoAction(software.amazon.jsii.JsiiObjectRef objRef)
protected AuthenticateCognitoAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public AuthenticateCognitoAction(@NotNull
AuthenticateCognitoActionProps options)
options - This parameter is required.Copyright © 2022. All rights reserved.