@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:08.758Z") @Stability(value=Experimental) 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.core.*;
import software.amazon.awscdk.services.elasticloadbalancingv2.*;
import software.amazon.awscdk.services.elasticloadbalancingv2.actions.*;
Duration duration;
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)
.build());
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthenticateCognitoAction.Builder
(experimental) A fluent builder for
AuthenticateCognitoAction. |
software.amazon.jsii.JsiiObject.InitializationModeIListenerAction.Jsii$Default, IListenerAction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
AuthenticateCognitoAction(AuthenticateCognitoActionProps options)
(experimental) 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=Experimental)
public AuthenticateCognitoAction(@NotNull
AuthenticateCognitoActionProps options)
options - This parameter is required.Copyright © 2022. All rights reserved.