Interface AppSyncCognitoConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AppSyncCognitoConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.855Z")
@Stability(Stable)
public interface AppSyncCognitoConfig
extends software.amazon.jsii.JsiiSerializable
Configuration for Cognito user-pools in AppSync for Api.
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.appsync.*;
import software.amazon.awscdk.services.cognito.*;
UserPool userPool;
AppSyncCognitoConfig appSyncCognitoConfig = AppSyncCognitoConfig.builder()
.userPool(userPool)
// the properties below are optional
.appIdClientRegex("appIdClientRegex")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAppSyncCognitoConfigstatic final classAn implementation forAppSyncCognitoConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic AppSyncCognitoConfig.Builderbuilder()default Stringthe optional app id regex.The Cognito user pool to use as identity source.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUserPool
The Cognito user pool to use as identity source. -
getAppIdClientRegex
the optional app id regex.Default: - None
-
builder
- Returns:
- a
AppSyncCognitoConfig.BuilderofAppSyncCognitoConfig
-